Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.042/1.042, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.96/1.96, allocations: 221.5 MB / 395.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008465, allocations: 101.5 kB / 478.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.401e-05, allocations: 4 kB / 0.5536 GB, free: 8.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.539, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.533, allocations: 373.9 MB / 0.9991 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004216/1.534, allocations: 99.5 kB / 0.9992 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/2.602, allocations: 245.9 MB / 1.239 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/2.602, allocations: 0 / 1.239 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.68e-05/2.602, allocations: 35.98 kB / 1.239 GB, free: 101.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001959/2.604, allocations: 1.216 MB / 1.241 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/2.604, allocations: 8.031 kB / 1.241 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/2.605, allocations: 146.4 kB / 1.241 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01513/2.62, allocations: 7.742 MB / 1.248 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/2.62, allocations: 24 kB / 1.248 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/2.62, allocations: 51.94 kB / 1.248 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/2.621, allocations: 0.6364 MB / 1.249 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/2.622, allocations: 0.8499 MB / 1.25 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.674e-05/2.622, allocations: 3.953 kB / 1.25 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/2.622, allocations: 0 / 1.25 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/2.622, allocations: 35.92 kB / 1.25 GB, free: 90.64 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/2.627, allocations: 4.387 MB / 1.254 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/2.627, allocations: 371.1 kB / 1.254 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/2.628, allocations: 249 kB / 1.255 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/2.628, allocations: 437.8 kB / 1.255 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/2.628, allocations: 38.89 kB / 1.255 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 3.317e-06/2.628, allocations: 0 / 1.255 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001214/2.629, allocations: 0.5422 MB / 1.256 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/2.629, allocations: 55.41 kB / 1.256 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008623/2.63, allocations: 0.7779 MB / 1.256 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/2.63, allocations: 33.7 kB / 1.257 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/2.631, allocations: 0.5028 MB / 1.257 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/2.631, allocations: 138 kB / 1.257 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/2.631, allocations: 3.938 kB / 1.257 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/2.631, allocations: 334 kB / 1.257 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/2.631, allocations: 205 kB / 1.258 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/2.631, allocations: 423.3 kB / 1.258 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/2.632, allocations: 305.3 kB / 1.258 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/2.632, allocations: 3.938 kB / 1.258 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001077/2.633, allocations: 0.7361 MB / 1.259 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005329/2.634, allocations: 2.178 MB / 1.261 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/2.634, allocations: 7.938 kB / 1.261 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/2.634, allocations: 56.83 kB / 1.261 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/2.634, allocations: 119.8 kB / 1.261 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004919/2.635, allocations: 0.6343 MB / 1.262 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/2.636, allocations: 91.38 kB / 1.262 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/2.636, allocations: 31.98 kB / 1.262 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/2.636, allocations: 4 kB / 1.262 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000896/2.637, allocations: 0.6015 MB / 1.263 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.637, allocations: 8 kB / 1.263 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/2.637, allocations: 56.83 kB / 1.263 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/2.637, allocations: 111.8 kB / 1.263 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/2.638, allocations: 1.603 MB / 1.264 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/2.639, allocations: 83.53 kB / 1.265 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/2.639, allocations: 27.98 kB / 1.265 GB, free: 74.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/2.639, allocations: 136.7 kB / 1.265 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008061/2.64, allocations: 0.5205 MB / 1.265 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/2.64, allocations: 82.97 kB / 1.265 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/2.641, allocations: 0.5975 MB / 1.266 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/2.641, allocations: 7.953 kB / 1.266 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/2.641, allocations: 0 / 1.266 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006955/2.642, allocations: 0.7812 MB / 1.267 GB, free: 72.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/2.644, allocations: 1.54 MB / 1.268 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/2.644, allocations: 3.953 kB / 1.268 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/2.645, allocations: 87.88 kB / 1.268 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.936e-05/2.645, allocations: 20.86 kB / 1.268 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/2.645, allocations: 16.11 kB / 1.268 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002729/2.645, allocations: 0.5718 MB / 1.269 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.645, allocations: 3.938 kB / 1.269 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/2.646, allocations: 0.9441 MB / 1.27 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/2.647, allocations: 255.9 kB / 1.27 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/2.647, allocations: 12 kB / 1.27 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/2.647, allocations: 59.78 kB / 1.27 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/2.647, allocations: 23.95 kB / 1.27 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/2.647, allocations: 23.98 kB / 1.27 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006668/2.648, allocations: 0.6122 MB / 1.271 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.648, allocations: 0 / 1.271 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002008/2.65, allocations: 0.5689 MB / 1.271 GB, free: 67.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002102/2.652, allocations: 2.057 MB / 1.273 GB, free: 65.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001503/2.654, allocations: 0.953 MB / 1.274 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/2.654, allocations: 4 kB / 1.274 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/2.654, allocations: 225.5 kB / 1.274 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/2.657, allocations: 0.5268 MB / 1.275 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/2.661, allocations: 1.946 MB / 1.277 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/2.661, allocations: 1.253 MB / 1.278 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001891/2.663, allocations: 0.6819 MB / 1.279 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/2.664, allocations: 347.3 kB / 1.279 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of SimCode: time 2.154e-06/2.664, allocations: 0 / 1.279 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/2.724, allocations: 28.36 MB / 1.307 GB, free: 31.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/2.724, allocations: 196.3 kB / 1.307 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/5.975, allocations: 0 / 1.307 GB, free: 31.02 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)