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.007551/0.007551, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001843/0.001843, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.388/1.388, 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.792/0.792, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.81 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1641, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003379/0.1676, allocations: 1.381 MB / 0.6605 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.1719, allocations: 2.909 MB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.172, allocations: 0 / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1722, allocations: 11.92 kB / 0.6634 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1723, allocations: 39.81 kB / 0.6634 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.1731, allocations: 183.1 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1733, allocations: 239.5 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.1734, allocations: 4 kB / 0.6638 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1735, allocations: 99.78 kB / 0.6639 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1737, allocations: 119.8 kB / 0.664 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.1738, allocations: 8 kB / 0.664 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.1742, allocations: 147.8 kB / 0.6642 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1743, allocations: 79.83 kB / 0.6643 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1745, allocations: 99.52 kB / 0.6644 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.1749, allocations: 279.3 kB / 0.6646 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.175, allocations: 3.984 kB / 0.6646 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.175, allocations: 0 / 0.6646 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.175, allocations: 0 / 0.6646 GB, free: 5.141 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.0009175/0.1759, allocations: 0.5296 MB / 0.6651 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1759, allocations: 12.03 kB / 0.6652 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.176, allocations: 50.73 kB / 0.6652 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1761, allocations: 24.83 kB / 0.6652 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1764, allocations: 240.1 kB / 0.6655 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.1765, allocations: 24.36 kB / 0.6655 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.1765, allocations: 12.38 kB / 0.6655 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.1772, allocations: 293.1 kB / 0.6658 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1772, allocations: 0 / 0.6658 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1772, allocations: 8 kB / 0.6658 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1772, allocations: 4 kB / 0.6658 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.1788, allocations: 0.749 MB / 0.6665 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1791, allocations: 317 kB / 0.6668 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.1808, allocations: 0.6754 MB / 0.6675 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.1813, allocations: 229.6 kB / 0.6677 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.1818, allocations: 400.3 kB / 0.6681 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1818, allocations: 34.56 kB / 0.6681 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.1818, allocations: 0 / 0.6681 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001655/0.1835, allocations: 0.658 MB / 0.6688 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1835, allocations: 55.41 kB / 0.6688 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1836, allocations: 126.1 kB / 0.6689 GB, free: 468 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1837, allocations: 29.7 kB / 0.669 GB, free: 432 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.1837, allocations: 92.78 kB / 0.669 GB, free: 336 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1838, allocations: 126.9 kB / 0.6692 GB, free: 208 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.184, allocations: 69.67 kB / 0.6692 GB, free: 132 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1841, allocations: 338.8 kB / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/0.1846, allocations: 187.8 kB / 0.6697 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.1851, allocations: 203.6 kB / 0.6699 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/0.186, allocations: 358.2 kB / 0.6703 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.186, allocations: 0 / 0.6703 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001058/0.187, allocations: 476.5 kB / 0.6707 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1871, allocations: 5.719 kB / 0.6707 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1871, allocations: 0 / 0.6707 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1871, allocations: 4 kB / 0.6707 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.1875, allocations: 99.84 kB / 0.6708 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1875, allocations: 3.984 kB / 0.6708 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1877, allocations: 55.8 kB / 0.6709 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1877, allocations: 8 kB / 0.6709 GB, free: 14.41 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.0001454/0.1879, allocations: 145.8 kB / 0.671 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1879, allocations: 19.84 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.1892, allocations: 0.5114 MB / 0.6715 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1892, allocations: 4 kB / 0.6716 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1892, allocations: 4 kB / 0.6716 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1892, allocations: 3.984 kB / 0.6716 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.1896, allocations: 321.2 kB / 0.6719 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1896, allocations: 3.938 kB / 0.6719 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.1899, allocations: 95.86 kB / 0.672 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1899, allocations: 0 / 0.672 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.19, allocations: 11.98 kB / 0.672 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.19, allocations: 8 kB / 0.672 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.19, allocations: 0 / 0.672 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1911, allocations: 0.4884 MB / 0.6725 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1912, allocations: 104.9 kB / 0.6726 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.1912, allocations: 4 kB / 0.6726 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1914, allocations: 35.95 kB / 0.6726 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.1917, allocations: 119.8 kB / 0.6727 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.1917, allocations: 11.98 kB / 0.6727 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.1918, allocations: 102.8 kB / 0.6728 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1918, allocations: 0 / 0.6728 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003834/0.1921, allocations: 123.7 kB / 0.6729 GB, free: 12.22 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.001575/0.1937, allocations: 1.119 MB / 0.674 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.1949, allocations: 475.2 kB / 0.6745 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1949, allocations: 4 kB / 0.6745 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.1954, allocations: 255.7 kB / 0.6747 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1959, allocations: 75.92 kB / 0.6748 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.1999, allocations: 2.685 MB / 0.6774 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2002, allocations: 0.7405 MB / 0.6781 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.2006, allocations: 178.7 kB / 0.6783 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2008, allocations: 67.39 kB / 0.6784 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.687e-06/0.2008, allocations: 0 / 0.6784 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.2659, allocations: 7.414 MB / 0.6856 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.091, allocations: 3.938 kB / 0.6856 GB, free: 15.27 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)