Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",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.00603/0.00603, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001365/0.001365, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.041/1.041, allocations: 135.5 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.83 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4307, allocations: 81.03 MB / 0.6649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002019/0.4328, allocations: 1.381 MB / 0.6662 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.4355, allocations: 2.907 MB / 0.6691 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.4356, allocations: 3.938 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.499e-05/0.4357, allocations: 1.438 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.4358, allocations: 49.67 kB / 0.6691 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.4363, allocations: 183.3 kB / 0.6693 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.4365, allocations: 247.1 kB / 0.6695 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.4366, allocations: 3.281 kB / 0.6695 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.4367, allocations: 90.31 kB / 0.6696 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.4368, allocations: 126.8 kB / 0.6697 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4368, allocations: 11 kB / 0.6697 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.4372, allocations: 137 kB / 0.6699 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.4373, allocations: 86 kB / 0.67 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.4374, allocations: 99.09 kB / 0.67 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.4377, allocations: 261.5 kB / 0.6703 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4377, allocations: 5.219 kB / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4377, allocations: 0 / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4377, allocations: 0 / 0.6703 GB, free: 2.828 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.0007876/0.4385, allocations: 0.5358 MB / 0.6708 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4386, allocations: 10.41 kB / 0.6708 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.4386, allocations: 56.98 kB / 0.6709 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4387, allocations: 17.69 kB / 0.6709 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.4389, allocations: 241.5 kB / 0.6711 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.439, allocations: 27.52 kB / 0.6712 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.439, allocations: 13.72 kB / 0.6712 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.4396, allocations: 291 kB / 0.6715 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4396, allocations: 3.938 kB / 0.6715 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.4397, allocations: 9.047 kB / 0.6715 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4397, allocations: 3.469 kB / 0.6715 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.4411, allocations: 0.7542 MB / 0.6722 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.4414, allocations: 302.2 kB / 0.6725 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.443, allocations: 0.6752 MB / 0.6732 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.4435, allocations: 228.4 kB / 0.6734 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.4438, allocations: 397.4 kB / 0.6737 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.4439, allocations: 40.67 kB / 0.6738 GB, free: 384 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.4439, allocations: 0 / 0.6738 GB, free: 384 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001587/0.4455, allocations: 0.6482 MB / 0.6744 GB, free: 96 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.4455, allocations: 58.59 kB / 0.6745 GB, free: 28 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4456, allocations: 124.6 kB / 0.6746 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4457, allocations: 39.33 kB / 0.6746 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.4457, allocations: 88.2 kB / 0.6747 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.4459, allocations: 140.9 kB / 0.6748 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.446, allocations: 65.94 kB / 0.6749 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4461, allocations: 331.2 kB / 0.6752 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.4466, allocations: 190.7 kB / 0.6754 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4471, allocations: 199.7 kB / 0.6756 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.4481, allocations: 361.3 kB / 0.6759 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4481, allocations: 1.125 kB / 0.6759 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00116/0.4493, allocations: 467.7 kB / 0.6764 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4493, allocations: 5.906 kB / 0.6764 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4493, allocations: 0 / 0.6764 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4494, allocations: 5.219 kB / 0.6764 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.4497, allocations: 92.33 kB / 0.6765 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4498, allocations: 5.172 kB / 0.6765 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.45, allocations: 46.23 kB / 0.6765 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.45, allocations: 12.95 kB / 0.6766 GB, free: 14.72 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.0001569/0.4502, allocations: 147.4 kB / 0.6767 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.4502, allocations: 25.27 kB / 0.6767 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.4515, allocations: 0.5126 MB / 0.6772 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4515, allocations: 7.281 kB / 0.6772 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4516, allocations: 1.094 kB / 0.6772 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4516, allocations: 0 / 0.6772 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.452, allocations: 314.1 kB / 0.6775 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.452, allocations: 3.938 kB / 0.6775 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.4523, allocations: 100.3 kB / 0.6776 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4523, allocations: 1.156 kB / 0.6776 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4524, allocations: 20.23 kB / 0.6776 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4524, allocations: 1.031 kB / 0.6776 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4524, allocations: 1.094 kB / 0.6776 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4536, allocations: 0.4896 MB / 0.6781 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.4537, allocations: 102.6 kB / 0.6782 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.4537, allocations: 10.36 kB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4539, allocations: 39.33 kB / 0.6783 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.4542, allocations: 115.3 kB / 0.6784 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.4542, allocations: 16.02 kB / 0.6784 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.4543, allocations: 98.67 kB / 0.6785 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.788e-06/0.4543, allocations: 0 / 0.6785 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004591/0.4548, allocations: 121.3 kB / 0.6786 GB, free: 13.39 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.001757/0.4565, allocations: 1.125 MB / 0.6797 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.4577, allocations: 467.8 kB / 0.6801 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4577, allocations: 4 kB / 0.6802 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.4584, allocations: 261.2 kB / 0.6804 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.4588, allocations: 77.45 kB / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.4632, allocations: 2.672 MB / 0.6831 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.4636, allocations: 0.7417 MB / 0.6838 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004226/0.4641, allocations: 184.4 kB / 0.684 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4642, allocations: 59.81 kB / 0.684 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.335e-06/0.4642, allocations: 0 / 0.684 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4937, allocations: 7.429 MB / 0.6913 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.593, allocations: 17.88 kB / 0.6913 GB, free: 5.461 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)