Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007104/0.007103, allocations: 101.1 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 195 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5445, allocations: 80.21 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002183/0.5468, allocations: 1.373 MB / 0.6605 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.5498, allocations: 2.915 MB / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.5499, allocations: 0 / 0.6634 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.55, allocations: 8.141 kB / 0.6634 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.5501, allocations: 46.23 kB / 0.6634 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.5507, allocations: 184.2 kB / 0.6636 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.5509, allocations: 238.6 kB / 0.6638 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.551, allocations: 15.92 kB / 0.6638 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.067e-05/0.5511, allocations: 90.97 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5512, allocations: 121.6 kB / 0.664 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.5512, allocations: 11.16 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.5516, allocations: 134.1 kB / 0.6642 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.5517, allocations: 89.19 kB / 0.6643 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.5518, allocations: 85.97 kB / 0.6643 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.5522, allocations: 276.3 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5522, allocations: 1.375 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5522, allocations: 0 / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5522, allocations: 0 / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007267/0.5529, allocations: 0.5369 MB / 0.6651 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.553, allocations: 8.812 kB / 0.6651 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.553, allocations: 48.61 kB / 0.6652 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5532, allocations: 18.75 kB / 0.6652 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.5534, allocations: 248.7 kB / 0.6654 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.5534, allocations: 24.48 kB / 0.6655 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5535, allocations: 17.47 kB / 0.6655 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.554, allocations: 285.7 kB / 0.6658 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5541, allocations: 0 / 0.6658 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.5541, allocations: 9.469 kB / 0.6658 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5541, allocations: 4.281 kB / 0.6658 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5554, allocations: 0.75 MB / 0.6665 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.5558, allocations: 305.3 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5572, allocations: 0.6785 MB / 0.6675 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.5577, allocations: 232.1 kB / 0.6677 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.558, allocations: 394.2 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.558, allocations: 36.03 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.558, allocations: 4 kB / 0.6681 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001412/0.5595, allocations: 0.653 MB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5595, allocations: 58.41 kB / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.5596, allocations: 127.2 kB / 0.6689 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5596, allocations: 31.14 kB / 0.6689 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.5596, allocations: 96.02 kB / 0.669 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.5597, allocations: 126 kB / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.5598, allocations: 64.06 kB / 0.6692 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.5599, allocations: 327.6 kB / 0.6695 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.5603, allocations: 195.6 kB / 0.6697 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.5607, allocations: 200.5 kB / 0.6699 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.5615, allocations: 364.1 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5615, allocations: 0 / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009172/0.5624, allocations: 464.1 kB / 0.6707 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5624, allocations: 9.688 kB / 0.6707 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5624, allocations: 0 / 0.6707 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5624, allocations: 1.969 kB / 0.6707 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.5628, allocations: 96.8 kB / 0.6708 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5628, allocations: 5.25 kB / 0.6708 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.563, allocations: 49.67 kB / 0.6708 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.563, allocations: 15.55 kB / 0.6709 GB, free: 2.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/0.5631, allocations: 136.1 kB / 0.671 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.5631, allocations: 28.2 kB / 0.671 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.5642, allocations: 0.5133 MB / 0.6715 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5642, allocations: 4.219 kB / 0.6715 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5642, allocations: 0 / 0.6715 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5642, allocations: 0 / 0.6715 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.5645, allocations: 318 kB / 0.6718 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5645, allocations: 3.938 kB / 0.6718 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.5648, allocations: 100 kB / 0.6719 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5648, allocations: 2.281 kB / 0.6719 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.5649, allocations: 15.48 kB / 0.6719 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5649, allocations: 1.156 kB / 0.6719 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5649, allocations: 1.062 kB / 0.6719 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.5658, allocations: 497.2 kB / 0.6724 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.5659, allocations: 107.3 kB / 0.6725 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.5659, allocations: 9.094 kB / 0.6725 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5661, allocations: 35.91 kB / 0.6726 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.5663, allocations: 122.9 kB / 0.6727 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.5663, allocations: 13.23 kB / 0.6727 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.5664, allocations: 100.6 kB / 0.6728 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5664, allocations: 0 / 0.6728 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004043/0.5668, allocations: 115.6 kB / 0.6729 GB, free: 0.7461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.5681, allocations: 1.121 MB / 0.674 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.5692, allocations: 468 kB / 0.6744 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5692, allocations: 0 / 0.6744 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.5697, allocations: 260.1 kB / 0.6747 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.5701, allocations: 79.69 kB / 0.6748 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.5745, allocations: 2.685 MB / 0.6774 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.5749, allocations: 0.7344 MB / 0.6781 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.5754, allocations: 190 kB / 0.6783 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5755, allocations: 64.03 kB / 0.6783 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5755, allocations: 0 / 0.6783 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.6, allocations: 7.407 MB / 0.6856 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/8.078, allocations: 11.72 kB / 0.6856 GB, free: 9.273 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)