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.001586/0.001586, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7623/0.7623, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.45 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.384, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002432/0.3864, allocations: 1.388 MB / 0.5815 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.3897, allocations: 2.91 MB / 0.5844 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.3897, allocations: 1.062 kB / 0.5844 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.3898, allocations: 11.25 kB / 0.5844 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3899, allocations: 42.73 kB / 0.5844 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3905, allocations: 183.2 kB / 0.5846 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3908, allocations: 243.2 kB / 0.5848 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.3908, allocations: 4.281 kB / 0.5848 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.391, allocations: 96.47 kB / 0.5849 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3911, allocations: 122.3 kB / 0.5851 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.3911, allocations: 11.66 kB / 0.5851 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.3915, allocations: 134 kB / 0.5852 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3917, allocations: 92.64 kB / 0.5853 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3918, allocations: 92.58 kB / 0.5854 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3922, allocations: 277.5 kB / 0.5856 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3922, allocations: 0 / 0.5856 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3922, allocations: 0 / 0.5856 GB, free: 1.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3922, allocations: 0 / 0.5856 GB, free: 1.012 MB / 430.1 MB 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.0008269/0.3931, allocations: 0.5267 MB / 0.5861 GB, free: 0.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3931, allocations: 8.438 kB / 0.5862 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.3932, allocations: 48.27 kB / 0.5862 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3933, allocations: 20.12 kB / 0.5862 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3935, allocations: 242.7 kB / 0.5865 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.3936, allocations: 25 kB / 0.5865 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3936, allocations: 17.56 kB / 0.5865 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.3943, allocations: 291.5 kB / 0.5868 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3944, allocations: 1.031 kB / 0.5868 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3944, allocations: 9.531 kB / 0.5868 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3944, allocations: 4.156 kB / 0.5868 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.3961, allocations: 0.7462 MB / 0.5875 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3966, allocations: 310.4 kB / 0.5878 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3984, allocations: 0.6741 MB / 0.5885 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.399, allocations: 231.6 kB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.3995, allocations: 395.4 kB / 0.5891 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3995, allocations: 37.42 kB / 0.5891 GB, free: 15.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.814e-06/0.3995, allocations: 0 / 0.5891 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001874/0.4014, allocations: 0.652 MB / 0.5897 GB, free: 15.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4015, allocations: 59.41 kB / 0.5898 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4016, allocations: 125.8 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.4016, allocations: 30.95 kB / 0.5899 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.4017, allocations: 88.14 kB / 0.59 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4018, allocations: 119.8 kB / 0.5901 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4019, allocations: 67.47 kB / 0.5902 GB, free: 14.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4021, allocations: 333.3 kB / 0.5905 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.4026, allocations: 193.2 kB / 0.5907 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.4032, allocations: 201.1 kB / 0.5909 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.4042, allocations: 362.4 kB / 0.5912 GB, free: 14.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4042, allocations: 4 kB / 0.5912 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001164/0.4054, allocations: 470.6 kB / 0.5917 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4054, allocations: 5.094 kB / 0.5917 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4054, allocations: 1.781 kB / 0.5917 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4054, allocations: 1.125 kB / 0.5917 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4058, allocations: 98.11 kB / 0.5918 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4058, allocations: 5.328 kB / 0.5918 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.4061, allocations: 56.7 kB / 0.5919 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.4061, allocations: 12.3 kB / 0.5919 GB, free: 14.06 MB / 446.1 MB 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.000144/0.4062, allocations: 143.3 kB / 0.592 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.4063, allocations: 19.25 kB / 0.592 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4076, allocations: 0.5056 MB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4076, allocations: 7.5 kB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4077, allocations: 6.406 kB / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4077, allocations: 5.969 kB / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.408, allocations: 308.3 kB / 0.5928 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4081, allocations: 5.625 kB / 0.5928 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.4084, allocations: 104.8 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4084, allocations: 1.656 kB / 0.5929 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4085, allocations: 7.844 kB / 0.5929 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4085, allocations: 1.344 kB / 0.5929 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4085, allocations: 0 / 0.5929 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.4097, allocations: 0.4905 MB / 0.5934 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.4097, allocations: 103.3 kB / 0.5935 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.4098, allocations: 13.14 kB / 0.5935 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.41, allocations: 32.53 kB / 0.5936 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4102, allocations: 122.6 kB / 0.5937 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.4103, allocations: 9.125 kB / 0.5937 GB, free: 13.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.4103, allocations: 102.5 kB / 0.5938 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4103, allocations: 0 / 0.5938 GB, free: 12.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.4108, allocations: 116.8 kB / 0.5939 GB, free: 12.95 MB / 446.1 MB 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.001694/0.4125, allocations: 1.124 MB / 0.595 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4139, allocations: 0.5519 MB / 0.5955 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4139, allocations: 0 / 0.5955 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.4145, allocations: 260.2 kB / 0.5958 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.415, allocations: 76.77 kB / 0.5959 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.4194, allocations: 2.67 MB / 0.5985 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.4197, allocations: 0.7302 MB / 0.5992 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.4202, allocations: 188.8 kB / 0.5994 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4203, allocations: 63.47 kB / 0.5994 GB, free: 9.117 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4203, allocations: 0 / 0.5994 GB, free: 9.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.4474, allocations: 7.341 MB / 0.6066 GB, free: 5.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.936, allocations: 2.734 kB / 0.6066 GB, free: 5.508 MB / 446.1 MB (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)