Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.007322/0.007322, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001858/0.001858, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9058/0.9058, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.91 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4035, allocations: 81.02 MB / 0.6649 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004948/0.4085, allocations: 4.426 MB / 0.6692 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.4109, allocations: 2.689 MB / 0.6719 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.411, allocations: 0 / 0.6719 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.4113, allocations: 39.88 kB / 0.6719 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.4116, allocations: 99.27 kB / 0.672 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.413, allocations: 0.4888 MB / 0.6725 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.4132, allocations: 237 kB / 0.6727 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.4133, allocations: 21.27 kB / 0.6727 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.4142, allocations: 416.7 kB / 0.6731 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4143, allocations: 93.03 kB / 0.6732 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.4144, allocations: 7.5 kB / 0.6732 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009327/0.4153, allocations: 493.9 kB / 0.6737 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.4154, allocations: 41.72 kB / 0.6737 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.4155, allocations: 83.02 kB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.4161, allocations: 357.5 kB / 0.6741 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4162, allocations: 0 / 0.6741 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4162, allocations: 1.25 kB / 0.6741 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4162, allocations: 0 / 0.6741 GB, free: 15.72 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007644/0.4169, allocations: 0.4989 MB / 0.6746 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.417, allocations: 10.16 kB / 0.6746 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.4171, allocations: 49.23 kB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4172, allocations: 25.58 kB / 0.6747 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4176, allocations: 224.4 kB / 0.6749 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4176, allocations: 10.83 kB / 0.6749 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4176, allocations: 15.03 kB / 0.6749 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.418, allocations: 241 kB / 0.6752 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.418, allocations: 0 / 0.6752 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.418, allocations: 10.75 kB / 0.6752 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.4181, allocations: 14.17 kB / 0.6752 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.4186, allocations: 428.8 kB / 0.6756 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4197, allocations: 1.001 MB / 0.6766 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.42, allocations: 157.4 kB / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4201, allocations: 67.39 kB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.4216, allocations: 1.826 MB / 0.6786 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4217, allocations: 37.12 kB / 0.6786 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.4217, allocations: 0 / 0.6786 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003394/0.422, allocations: 154.3 kB / 0.6788 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4221, allocations: 53.66 kB / 0.6788 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4222, allocations: 172.3 kB / 0.679 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4223, allocations: 27.3 kB / 0.679 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4224, allocations: 152.4 kB / 0.6792 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.4225, allocations: 50.25 kB / 0.6792 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.4225, allocations: 56.69 kB / 0.6793 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4227, allocations: 325.8 kB / 0.6796 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.4228, allocations: 33.61 kB / 0.6796 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4229, allocations: 147 kB / 0.6797 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.4232, allocations: 199.8 kB / 0.6799 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4232, allocations: 5.156 kB / 0.6799 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003504/0.4236, allocations: 215 kB / 0.6801 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4236, allocations: 9.156 kB / 0.6801 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4236, allocations: 4.406 kB / 0.6802 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4236, allocations: 8 kB / 0.6802 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4238, allocations: 57.06 kB / 0.6802 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4238, allocations: 5 kB / 0.6802 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.4239, allocations: 29 kB / 0.6802 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4239, allocations: 17.84 kB / 0.6803 GB, free: 9.898 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001169/0.4241, allocations: 139.8 kB / 0.6804 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.4241, allocations: 20.11 kB / 0.6804 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.4244, allocations: 160.3 kB / 0.6806 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4245, allocations: 5.406 kB / 0.6806 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4245, allocations: 1.406 kB / 0.6806 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4245, allocations: 0 / 0.6806 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4248, allocations: 217.8 kB / 0.6808 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4248, allocations: 0 / 0.6808 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.4249, allocations: 26.98 kB / 0.6808 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4249, allocations: 5.531 kB / 0.6808 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4249, allocations: 5.328 kB / 0.6808 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4249, allocations: 5.438 kB / 0.6808 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4249, allocations: 3.938 kB / 0.6808 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4252, allocations: 216.6 kB / 0.681 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.4253, allocations: 104.6 kB / 0.6811 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.4253, allocations: 9.359 kB / 0.6811 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4255, allocations: 20.61 kB / 0.6812 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.4256, allocations: 12.3 kB / 0.6812 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4256, allocations: 6.906 kB / 0.6812 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001022/0.4257, allocations: 123.3 kB / 0.6813 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4257, allocations: 0 / 0.6813 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003938/0.4261, allocations: 81.28 kB / 0.6814 GB, free: 8.957 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007745/0.4269, allocations: 0.8256 MB / 0.6822 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4271, allocations: 115.9 kB / 0.6823 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4271, allocations: 0.9375 kB / 0.6823 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.4272, allocations: 52.81 kB / 0.6823 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.4277, allocations: 63.05 kB / 0.6824 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.43, allocations: 2.028 MB / 0.6844 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4304, allocations: 0.709 MB / 0.6851 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.4306, allocations: 53.19 kB / 0.6851 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.4307, allocations: 48.17 kB / 0.6852 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.4307, allocations: 0 / 0.6852 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/0.6481, allocations: 5.175 MB / 0.6902 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/9.094, allocations: 7.438 kB / 0.6902 GB, free: 2.902 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)