Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",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.005396/0.0054, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001465/0.001465, allocations: 192.9 kB / 16.68 MB, free: 5.934 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7805/0.7805, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 65.45 kB / 0.5857 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1496, allocations: 81.02 MB / 0.6649 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002419/0.1521, allocations: 1.382 MB / 0.6662 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.1557, allocations: 2.917 MB / 0.6691 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.1558, allocations: 0 / 0.6691 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.146e-05/0.1559, allocations: 7.922 kB / 0.6691 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.156, allocations: 43.81 kB / 0.6691 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1565, allocations: 175.2 kB / 0.6693 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1568, allocations: 247.5 kB / 0.6695 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1569, allocations: 8 kB / 0.6695 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.157, allocations: 87.84 kB / 0.6696 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1571, allocations: 127.7 kB / 0.6697 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1572, allocations: 12 kB / 0.6697 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.1575, allocations: 135.8 kB / 0.6699 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.1576, allocations: 87.81 kB / 0.6699 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1577, allocations: 87.59 kB / 0.67 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.1581, allocations: 283.3 kB / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1581, allocations: 0 / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1581, allocations: 0 / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1582, allocations: 4 kB / 0.6703 GB, free: 40 kB / 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.0008416/0.159, allocations: 0.5318 MB / 0.6708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.159, allocations: 9.109 kB / 0.6708 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.1591, allocations: 54.73 kB / 0.6709 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1592, allocations: 20.84 kB / 0.6709 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1595, allocations: 236.1 kB / 0.6711 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.1595, allocations: 24.36 kB / 0.6711 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1596, allocations: 16.38 kB / 0.6712 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.1602, allocations: 289.7 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1602, allocations: 0 / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.1602, allocations: 15.94 kB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1602, allocations: 4 kB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1617, allocations: 0.7452 MB / 0.6722 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1621, allocations: 305.4 kB / 0.6725 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.1637, allocations: 0.6698 MB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.1642, allocations: 233.3 kB / 0.6734 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/0.1647, allocations: 396 kB / 0.6737 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1647, allocations: 42.56 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.362e-06/0.1647, allocations: 0 / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001619/0.1663, allocations: 0.6489 MB / 0.6744 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1664, allocations: 63.14 kB / 0.6745 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1665, allocations: 130 kB / 0.6746 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1665, allocations: 29.7 kB / 0.6746 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1666, allocations: 100.8 kB / 0.6747 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1667, allocations: 130.9 kB / 0.6748 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1668, allocations: 69.67 kB / 0.6749 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.167, allocations: 326.8 kB / 0.6752 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.1674, allocations: 199.8 kB / 0.6754 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.1679, allocations: 193 kB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.1688, allocations: 372.6 kB / 0.6759 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1688, allocations: 0 / 0.6759 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001054/0.1699, allocations: 460.9 kB / 0.6764 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1699, allocations: 8 kB / 0.6764 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1699, allocations: 3.984 kB / 0.6764 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1699, allocations: 0 / 0.6764 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.1703, allocations: 103.8 kB / 0.6765 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1703, allocations: 4 kB / 0.6765 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.1705, allocations: 43.84 kB / 0.6765 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1706, allocations: 12 kB / 0.6766 GB, free: 9.32 MB / 0.5137 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 0.000131/0.1707, allocations: 141.8 kB / 0.6767 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1707, allocations: 27.8 kB / 0.6767 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1719, allocations: 0.514 MB / 0.6772 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1719, allocations: 7.938 kB / 0.6772 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.172, allocations: 0 / 0.6772 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.172, allocations: 3.984 kB / 0.6772 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.1723, allocations: 317.3 kB / 0.6775 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1723, allocations: 3.938 kB / 0.6775 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.1726, allocations: 91.86 kB / 0.6776 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1726, allocations: 4 kB / 0.6776 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.1727, allocations: 15.98 kB / 0.6776 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1727, allocations: 0 / 0.6776 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1727, allocations: 0 / 0.6776 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1738, allocations: 496.1 kB / 0.6781 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1739, allocations: 100.9 kB / 0.6782 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1739, allocations: 8 kB / 0.6782 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1741, allocations: 35.95 kB / 0.6783 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.1743, allocations: 123.7 kB / 0.6784 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1743, allocations: 15.98 kB / 0.6784 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.1744, allocations: 101.8 kB / 0.6785 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1744, allocations: 0 / 0.6785 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003611/0.1748, allocations: 119.7 kB / 0.6786 GB, free: 7.121 MB / 0.5137 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.001591/0.1764, allocations: 1.123 MB / 0.6797 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.1775, allocations: 471 kB / 0.6801 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1775, allocations: 4 kB / 0.6802 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.178, allocations: 264.6 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1784, allocations: 71.92 kB / 0.6805 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.1825, allocations: 2.692 MB / 0.6831 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1829, allocations: 0.7327 MB / 0.6838 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003707/0.1832, allocations: 181.5 kB / 0.684 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1834, allocations: 67.39 kB / 0.6841 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1834, allocations: 0 / 0.6841 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.64/3.824, allocations: 7.425 MB / 0.6913 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/12.45, allocations: 0.9062 kB / 0.6913 GB, free: 10.13 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)