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.007907/0.007907, allocations: 98.47 kB / 15.73 MB, free: 6.016 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.002308/0.002308, allocations: 194.3 kB / 16.67 MB, free: 5.949 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5267, allocations: 80.92 MB / 0.6642 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00252/0.5293, allocations: 1.392 MB / 0.6655 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.5323, allocations: 2.907 MB / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.5324, allocations: 1.25 kB / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.5325, allocations: 9.406 kB / 0.6684 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.5326, allocations: 44.77 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.5332, allocations: 186.6 kB / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.5335, allocations: 243.7 kB / 0.6688 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.5335, allocations: 3.656 kB / 0.6688 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.5336, allocations: 94.12 kB / 0.6689 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.5338, allocations: 123.4 kB / 0.669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.5338, allocations: 10.62 kB / 0.669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.5341, allocations: 133.2 kB / 0.6692 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.5342, allocations: 86 kB / 0.6692 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.5343, allocations: 95.02 kB / 0.6693 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.5347, allocations: 275.4 kB / 0.6696 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5347, allocations: 4 kB / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5347, allocations: 1.531 kB / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.5347, allocations: 0 / 0.6696 GB, free: 3.105 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.0007595/0.5355, allocations: 0.5281 MB / 0.6701 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5355, allocations: 10.16 kB / 0.6701 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.5356, allocations: 56.48 kB / 0.6702 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5357, allocations: 18.19 kB / 0.6702 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.5359, allocations: 240 kB / 0.6704 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.536, allocations: 24.14 kB / 0.6705 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.536, allocations: 14.12 kB / 0.6705 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.5367, allocations: 294.1 kB / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5367, allocations: 0 / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5367, allocations: 5.25 kB / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5367, allocations: 4 kB / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.5382, allocations: 0.7467 MB / 0.6715 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.5385, allocations: 301.5 kB / 0.6718 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.5401, allocations: 0.6753 MB / 0.6724 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.5406, allocations: 232.2 kB / 0.6727 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.541, allocations: 406.1 kB / 0.673 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.541, allocations: 39.86 kB / 0.6731 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.541, allocations: 0 / 0.6731 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001624/0.5427, allocations: 0.6438 MB / 0.6737 GB, free: 396 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5427, allocations: 59.12 kB / 0.6738 GB, free: 328 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.5428, allocations: 136.5 kB / 0.6739 GB, free: 204 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5428, allocations: 31.23 kB / 0.6739 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.5429, allocations: 86.55 kB / 0.674 GB, free: 80 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.543, allocations: 125.6 kB / 0.6741 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5431, allocations: 65.59 kB / 0.6742 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5432, allocations: 331.9 kB / 0.6745 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.5437, allocations: 190.5 kB / 0.6747 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.5442, allocations: 197.2 kB / 0.6749 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.5452, allocations: 364.1 kB / 0.6752 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5452, allocations: 0 / 0.6752 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001183/0.5464, allocations: 463.8 kB / 0.6757 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5464, allocations: 5.656 kB / 0.6757 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5464, allocations: 0 / 0.6757 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5465, allocations: 10.19 kB / 0.6757 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.5469, allocations: 99.94 kB / 0.6758 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5469, allocations: 2.156 kB / 0.6758 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.5471, allocations: 49.06 kB / 0.6758 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.5471, allocations: 16.83 kB / 0.6758 GB, free: 15.01 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.0001479/0.5473, allocations: 144 kB / 0.676 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.5473, allocations: 19.69 kB / 0.676 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5487, allocations: 0.5214 MB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5487, allocations: 3.375 kB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5487, allocations: 0 / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5487, allocations: 1.188 kB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.5491, allocations: 312.9 kB / 0.6768 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5491, allocations: 9.141 kB / 0.6768 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.5494, allocations: 99.55 kB / 0.6769 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5495, allocations: 1.438 kB / 0.6769 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5495, allocations: 12.36 kB / 0.6769 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5495, allocations: 1.469 kB / 0.6769 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5495, allocations: 3.938 kB / 0.6769 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5506, allocations: 0.4899 MB / 0.6774 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.5507, allocations: 102.8 kB / 0.6775 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.5508, allocations: 6.469 kB / 0.6775 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.5509, allocations: 39.61 kB / 0.6775 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5512, allocations: 118.8 kB / 0.6777 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.5512, allocations: 12.36 kB / 0.6777 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.5513, allocations: 100.1 kB / 0.6778 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.623e-06/0.5513, allocations: 0 / 0.6778 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004294/0.5517, allocations: 120.8 kB / 0.6779 GB, free: 13.69 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.001733/0.5535, allocations: 1.118 MB / 0.679 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.5547, allocations: 477.2 kB / 0.6794 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5547, allocations: 0 / 0.6794 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.5553, allocations: 256.1 kB / 0.6797 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.5557, allocations: 77.2 kB / 0.6798 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.5601, allocations: 2.673 MB / 0.6824 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5604, allocations: 0.7341 MB / 0.6831 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.5609, allocations: 181 kB / 0.6833 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.561, allocations: 63.47 kB / 0.6833 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of SimCode: time 1.843e-06/0.561, allocations: 0 / 0.6833 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.5851, allocations: 7.542 MB / 0.6907 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.22, allocations: 9.281 kB / 0.6907 GB, free: 6.059 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)