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.00547/0.00547, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001205/0.001205, allocations: 197.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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8056/0.8056, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4282, allocations: 80.2 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002512/0.4308, allocations: 1.38 MB / 0.6605 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.4344, allocations: 2.914 MB / 0.6634 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.4344, allocations: 0 / 0.6634 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.4346, allocations: 4.672 kB / 0.6634 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.4347, allocations: 45.61 kB / 0.6634 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.4354, allocations: 184.4 kB / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.4357, allocations: 246.4 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.4358, allocations: 2.656 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4359, allocations: 95 kB / 0.6639 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.4361, allocations: 126.1 kB / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.4361, allocations: 10.84 kB / 0.6641 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.4366, allocations: 138.6 kB / 0.6642 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.4367, allocations: 89.16 kB / 0.6643 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4368, allocations: 95.25 kB / 0.6644 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.4373, allocations: 268.4 kB / 0.6646 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4373, allocations: 1.25 kB / 0.6646 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4373, allocations: 0 / 0.6646 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.4373, allocations: 0 / 0.6646 GB, free: 6.125 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.0007895/0.4381, allocations: 0.5405 MB / 0.6651 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4382, allocations: 8.875 kB / 0.6652 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.4382, allocations: 49.08 kB / 0.6652 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4384, allocations: 17.47 kB / 0.6652 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.4386, allocations: 240.9 kB / 0.6655 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.4386, allocations: 24.95 kB / 0.6655 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4386, allocations: 13.66 kB / 0.6655 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.4393, allocations: 290 kB / 0.6658 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4393, allocations: 0 / 0.6658 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.4393, allocations: 9.391 kB / 0.6658 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4393, allocations: 3.688 kB / 0.6658 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.4407, allocations: 0.7536 MB / 0.6665 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.4411, allocations: 310.8 kB / 0.6668 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.4427, allocations: 0.6697 MB / 0.6675 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.4432, allocations: 231.8 kB / 0.6677 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.4435, allocations: 394.3 kB / 0.6681 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.4436, allocations: 35.91 kB / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.674e-06/0.4436, allocations: 1.375 kB / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001626/0.4452, allocations: 0.659 MB / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.4452, allocations: 56.31 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.4453, allocations: 127.2 kB / 0.6689 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4454, allocations: 35.14 kB / 0.6689 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.4454, allocations: 93.98 kB / 0.669 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.4455, allocations: 138.2 kB / 0.6692 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.4456, allocations: 61.53 kB / 0.6692 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.4457, allocations: 336 kB / 0.6695 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.4461, allocations: 195.4 kB / 0.6697 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.4466, allocations: 200.5 kB / 0.6699 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.4475, allocations: 364.2 kB / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4475, allocations: 0 / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001066/0.4486, allocations: 468.1 kB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4486, allocations: 5.25 kB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4486, allocations: 0 / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.4487, allocations: 1.531 kB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.449, allocations: 96.67 kB / 0.6708 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.449, allocations: 5.047 kB / 0.6708 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4493, allocations: 50.5 kB / 0.6709 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.4493, allocations: 15.83 kB / 0.6709 GB, free: 2 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 0.0001106/0.4494, allocations: 140.2 kB / 0.671 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.4495, allocations: 20.59 kB / 0.671 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.4507, allocations: 0.5146 MB / 0.6715 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.4507, allocations: 3.656 kB / 0.6715 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4507, allocations: 0 / 0.6715 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4507, allocations: 0 / 0.6715 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.4511, allocations: 314.3 kB / 0.6718 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4511, allocations: 3.938 kB / 0.6718 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.4514, allocations: 100.6 kB / 0.6719 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4515, allocations: 1.219 kB / 0.6719 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4515, allocations: 11.45 kB / 0.672 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4515, allocations: 2.5 kB / 0.672 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4515, allocations: 3.938 kB / 0.672 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4526, allocations: 0.4943 MB / 0.6724 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.4527, allocations: 102 kB / 0.6725 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.4527, allocations: 6.156 kB / 0.6725 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4529, allocations: 39.52 kB / 0.6726 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.4531, allocations: 115.9 kB / 0.6727 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4532, allocations: 15.73 kB / 0.6727 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.4532, allocations: 100.4 kB / 0.6728 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4532, allocations: 3.938 kB / 0.6728 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004365/0.4537, allocations: 120.5 kB / 0.6729 GB, free: 0.6992 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.001576/0.4553, allocations: 1.12 MB / 0.674 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4565, allocations: 468.6 kB / 0.6745 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4565, allocations: 5.062 kB / 0.6745 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.4571, allocations: 259.5 kB / 0.6747 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.4576, allocations: 79.36 kB / 0.6748 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4624, allocations: 2.692 MB / 0.6774 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4628, allocations: 0.7385 MB / 0.6781 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005094/0.4633, allocations: 179.3 kB / 0.6783 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.4635, allocations: 64.03 kB / 0.6784 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.4635, allocations: 3.938 kB / 0.6784 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4923, allocations: 7.42 MB / 0.6856 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.256, allocations: 7.391 kB / 0.6856 GB, free: 9.215 MB / 0.5137 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)