Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_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.00182/0.00182, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8306/0.8306, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 400.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009041, allocations: 103.4 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.089e-05, allocations: 2.938 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 82.32 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.667, allocations: 374.6 MB / 1.006 GB, free: 247.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.668, allocations: 90.45 kB / 1.006 GB, free: 247.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.113/2.781, allocations: 247.3 MB / 1.248 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/2.781, allocations: 0 / 1.248 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001407/2.781, allocations: 37.16 kB / 1.248 GB, free: 163.1 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.00271/2.784, allocations: 1.204 MB / 1.249 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/2.784, allocations: 10.67 kB / 1.249 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/2.784, allocations: 126 kB / 1.249 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/2.785, allocations: 137.3 kB / 1.249 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/2.807, allocations: 7.789 MB / 1.257 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/2.807, allocations: 56.98 kB / 1.257 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/2.808, allocations: 82.2 kB / 1.257 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/2.811, allocations: 0.9622 MB / 1.258 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/2.811, allocations: 4.734 kB / 1.258 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/2.811, allocations: 30.88 kB / 1.258 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/2.811, allocations: 23.19 kB / 1.258 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/2.813, allocations: 0.6808 MB / 1.259 GB, free: 161.9 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.008187/2.821, allocations: 4.548 MB / 1.263 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/2.822, allocations: 380.8 kB / 1.264 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/2.822, allocations: 255.6 kB / 1.264 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/2.823, allocations: 435.4 kB / 1.264 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/2.823, allocations: 39.98 kB / 1.264 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 3.476e-06/2.823, allocations: 0 / 1.264 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.00161/2.825, allocations: 0.5396 MB / 1.265 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/2.825, allocations: 61.84 kB / 1.265 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/2.826, allocations: 0.8393 MB / 1.266 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/2.826, allocations: 33.52 kB / 1.266 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/2.827, allocations: 0.5037 MB / 1.266 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/2.827, allocations: 150.8 kB / 1.266 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/2.827, allocations: 13.06 kB / 1.266 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/2.827, allocations: 330.2 kB / 1.267 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/2.827, allocations: 216.4 kB / 1.267 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/2.828, allocations: 436.8 kB / 1.267 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/2.828, allocations: 306.7 kB / 1.268 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/2.828, allocations: 3.812 kB / 1.268 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001348/2.829, allocations: 0.7799 MB / 1.268 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005064/2.83, allocations: 2.182 MB / 1.271 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/2.83, allocations: 7.875 kB / 1.271 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/2.83, allocations: 69.31 kB / 1.271 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/2.831, allocations: 112.2 kB / 1.271 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004683/2.831, allocations: 0.6286 MB / 1.271 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/2.832, allocations: 112.9 kB / 1.271 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/2.832, allocations: 30.67 kB / 1.271 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/2.832, allocations: 3.875 kB / 1.271 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001135/2.833, allocations: 0.6618 MB / 1.272 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.833, allocations: 6.469 kB / 1.272 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/2.834, allocations: 64.84 kB / 1.272 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/2.834, allocations: 115.2 kB / 1.272 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/2.836, allocations: 1.663 MB / 1.274 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/2.837, allocations: 93.89 kB / 1.274 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/2.837, allocations: 33.27 kB / 1.274 GB, free: 153.4 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.0002577/2.837, allocations: 145.9 kB / 1.274 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/2.837, allocations: 91.97 kB / 1.274 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/2.839, allocations: 0.6318 MB / 1.275 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/2.839, allocations: 10.33 kB / 1.275 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/2.839, allocations: 1.094 kB / 1.275 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000899/2.84, allocations: 0.8041 MB / 1.276 GB, free: 152.7 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.003102/2.843, allocations: 1.677 MB / 1.277 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/2.843, allocations: 1.469 kB / 1.277 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/2.843, allocations: 87.22 kB / 1.277 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/2.843, allocations: 29.45 kB / 1.277 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/2.843, allocations: 16.14 kB / 1.277 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000326/2.843, allocations: 0.5671 MB / 1.278 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.844, allocations: 4.938 kB / 1.278 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/2.845, allocations: 0.9889 MB / 1.279 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/2.846, allocations: 262.4 kB / 1.279 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/2.846, allocations: 7.656 kB / 1.279 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/2.846, allocations: 74.12 kB / 1.279 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/2.846, allocations: 24.61 kB / 1.279 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/2.846, allocations: 29.52 kB / 1.279 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001007/2.847, allocations: 0.6614 MB / 1.28 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.847, allocations: 0 / 1.28 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002487/2.85, allocations: 0.5972 MB / 1.281 GB, free: 151.2 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.002541/2.852, allocations: 2.076 MB / 1.283 GB, free: 150 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001998/2.854, allocations: 1.014 MB / 1.284 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.854, allocations: 1.25 kB / 1.284 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/2.855, allocations: 237.8 kB / 1.284 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/2.858, allocations: 0.5578 MB / 1.284 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/2.861, allocations: 1.973 MB / 1.286 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/2.862, allocations: 1.247 MB / 1.287 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001679/2.864, allocations: 0.6838 MB / 1.288 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/2.864, allocations: 346.7 kB / 1.288 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.492e-06/2.864, allocations: 3.719 kB / 1.288 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06059/2.925, allocations: 31.91 MB / 1.32 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/2.925, allocations: 248.7 kB / 1.32 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/6.276, allocations: 0 / 1.32 GB, free: 147.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)