Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_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.005727/0.005727, allocations: 99.77 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.001516/0.001516, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8086/0.8086, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 65 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.135, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002238/0.1373, allocations: 1.379 MB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.1407, allocations: 2.913 MB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.1407, allocations: 0 / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.1408, allocations: 3.938 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1409, allocations: 43.8 kB / 0.6634 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1415, allocations: 191.1 kB / 0.6636 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1417, allocations: 243.5 kB / 0.6638 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.1418, allocations: 0 / 0.6638 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1419, allocations: 87.86 kB / 0.6639 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.142, allocations: 127.7 kB / 0.664 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.142, allocations: 12 kB / 0.6641 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.1424, allocations: 131.9 kB / 0.6642 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.1425, allocations: 87.75 kB / 0.6643 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1426, allocations: 95.62 kB / 0.6644 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.143, allocations: 279.3 kB / 0.6646 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.143, allocations: 0 / 0.6646 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.143, allocations: 0 / 0.6646 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.143, allocations: 0 / 0.6646 GB, free: 5.172 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.0008173/0.1438, allocations: 0.5374 MB / 0.6651 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1439, allocations: 8.031 kB / 0.6652 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/0.1439, allocations: 54.73 kB / 0.6652 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.439e-05/0.144, allocations: 16.84 kB / 0.6652 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1443, allocations: 240 kB / 0.6655 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.1443, allocations: 28.36 kB / 0.6655 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1444, allocations: 20.31 kB / 0.6655 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.145, allocations: 293.1 kB / 0.6658 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.145, allocations: 4 kB / 0.6658 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.145, allocations: 4 kB / 0.6658 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1451, allocations: 4 kB / 0.6658 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.1465, allocations: 0.7452 MB / 0.6665 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1469, allocations: 309 kB / 0.6668 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1486, allocations: 0.6871 MB / 0.6675 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.1491, allocations: 233.6 kB / 0.6677 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.1495, allocations: 392.3 kB / 0.6681 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1496, allocations: 30.56 kB / 0.6681 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.1496, allocations: 4 kB / 0.6681 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.00163/0.1512, allocations: 0.6463 MB / 0.6687 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1512, allocations: 63.34 kB / 0.6688 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1514, allocations: 126.1 kB / 0.6689 GB, free: 496 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1514, allocations: 33.7 kB / 0.669 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.1515, allocations: 88.8 kB / 0.669 GB, free: 364 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1516, allocations: 134.8 kB / 0.6692 GB, free: 228 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.1517, allocations: 61.69 kB / 0.6692 GB, free: 160 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1518, allocations: 342.8 kB / 0.6696 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.1523, allocations: 191.8 kB / 0.6697 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.1528, allocations: 199.5 kB / 0.6699 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/0.1537, allocations: 358.2 kB / 0.6703 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1537, allocations: 4 kB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001081/0.1548, allocations: 468.7 kB / 0.6707 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1549, allocations: 11.94 kB / 0.6707 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1549, allocations: 0 / 0.6707 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1549, allocations: 0 / 0.6707 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.1552, allocations: 95.84 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1553, allocations: 4 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.1554, allocations: 47.81 kB / 0.6709 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1555, allocations: 15.98 kB / 0.6709 GB, free: 14.44 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.000134/0.1556, allocations: 145.8 kB / 0.671 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.1557, allocations: 19.84 kB / 0.671 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.1569, allocations: 0.5121 MB / 0.6715 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1569, allocations: 4 kB / 0.6716 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1569, allocations: 0 / 0.6716 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1569, allocations: 0 / 0.6716 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.1573, allocations: 325.2 kB / 0.6719 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1573, allocations: 3.938 kB / 0.6719 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.1576, allocations: 95.86 kB / 0.672 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1576, allocations: 0 / 0.672 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1576, allocations: 11.98 kB / 0.672 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1577, allocations: 4 kB / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1577, allocations: 0 / 0.672 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1588, allocations: 0.4884 MB / 0.6724 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.1588, allocations: 100.9 kB / 0.6725 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1589, allocations: 8 kB / 0.6726 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1591, allocations: 47.83 kB / 0.6726 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.1593, allocations: 115.8 kB / 0.6727 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.1593, allocations: 15.98 kB / 0.6727 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.1594, allocations: 98.52 kB / 0.6728 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1594, allocations: 0 / 0.6728 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003571/0.1598, allocations: 123.7 kB / 0.6729 GB, free: 12.25 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.001678/0.1614, allocations: 1.119 MB / 0.674 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.1626, allocations: 467.3 kB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1626, allocations: 0 / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.1632, allocations: 263.7 kB / 0.6747 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1635, allocations: 75.94 kB / 0.6748 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.1677, allocations: 2.687 MB / 0.6774 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1681, allocations: 0.7366 MB / 0.6781 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004008/0.1685, allocations: 188 kB / 0.6783 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1686, allocations: 67.41 kB / 0.6784 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1686, allocations: 0 / 0.6784 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/0.386, allocations: 7.4 MB / 0.6856 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.057, allocations: 14.44 kB / 0.6856 GB, free: 15.31 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)