Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001392/0.001392, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001484/0.001484, allocations: 191 kB / 16.91 MB, free: 6.195 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.254/1.254, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 55.91 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3183, allocations: 76.18 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005154/0.3235, allocations: 4.448 MB / 0.5603 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3258, allocations: 2.684 MB / 0.563 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.326, allocations: 1.562 kB / 0.563 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.3262, allocations: 42.67 kB / 0.563 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.3265, allocations: 89.66 kB / 0.5631 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3277, allocations: 458.2 kB / 0.5635 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.328, allocations: 235.4 kB / 0.5638 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.328, allocations: 9.766 kB / 0.5638 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.3289, allocations: 411.7 kB / 0.5642 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3291, allocations: 94.47 kB / 0.5643 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.3291, allocations: 6.406 kB / 0.5643 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009729/0.3301, allocations: 0.4924 MB / 0.5647 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.3302, allocations: 37.64 kB / 0.5648 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.3303, allocations: 81.97 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.3309, allocations: 354.5 kB / 0.5652 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3309, allocations: 4 kB / 0.5652 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3309, allocations: 0 / 0.5652 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.331, allocations: 1.719 kB / 0.5652 GB, free: 30.45 MB / 446.1 MB 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.0006396/0.3316, allocations: 0.4894 MB / 0.5657 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3317, allocations: 10.03 kB / 0.5657 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3317, allocations: 53.47 kB / 0.5657 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3319, allocations: 23.64 kB / 0.5658 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3321, allocations: 215.3 kB / 0.566 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3321, allocations: 19.16 kB / 0.566 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3321, allocations: 16.53 kB / 0.566 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.3325, allocations: 246.4 kB / 0.5662 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3325, allocations: 0 / 0.5662 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3325, allocations: 11.38 kB / 0.5662 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.3325, allocations: 7.047 kB / 0.5662 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.3331, allocations: 427.5 kB / 0.5667 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.3339, allocations: 1.005 MB / 0.5676 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3342, allocations: 166.9 kB / 0.5678 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.3343, allocations: 61.2 kB / 0.5679 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009259/0.3352, allocations: 1.83 MB / 0.5696 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3353, allocations: 34.02 kB / 0.5697 GB, free: 26.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3353, allocations: 0 / 0.5697 GB, free: 26.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003003/0.3356, allocations: 150 kB / 0.5698 GB, free: 26.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.3356, allocations: 53.59 kB / 0.5699 GB, free: 26.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3357, allocations: 167.6 kB / 0.57 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3358, allocations: 32.02 kB / 0.5701 GB, free: 26.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.3358, allocations: 141.1 kB / 0.5702 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.3358, allocations: 58.48 kB / 0.5702 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.3359, allocations: 54.08 kB / 0.5703 GB, free: 25.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.336, allocations: 327.9 kB / 0.5706 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.336, allocations: 36.41 kB / 0.5706 GB, free: 25.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.3361, allocations: 141.5 kB / 0.5708 GB, free: 25.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3363, allocations: 202.3 kB / 0.571 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3363, allocations: 3.594 kB / 0.571 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000299/0.3366, allocations: 211 kB / 0.5712 GB, free: 25.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3367, allocations: 6.719 kB / 0.5712 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3367, allocations: 6.078 kB / 0.5712 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3367, allocations: 8.125 kB / 0.5712 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3369, allocations: 58.61 kB / 0.5713 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3369, allocations: 10.28 kB / 0.5713 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.337, allocations: 29.47 kB / 0.5713 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.337, allocations: 16.05 kB / 0.5713 GB, free: 25.12 MB / 446.1 MB 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 7.641e-05/0.3371, allocations: 127.3 kB / 0.5714 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.3372, allocations: 16.41 kB / 0.5714 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.3374, allocations: 157.7 kB / 0.5716 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3375, allocations: 6.844 kB / 0.5716 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3375, allocations: 0.8438 kB / 0.5716 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3375, allocations: 2.531 kB / 0.5716 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3377, allocations: 219.9 kB / 0.5718 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3377, allocations: 1.25 kB / 0.5718 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.3378, allocations: 23.27 kB / 0.5718 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3378, allocations: 1.125 kB / 0.5718 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3378, allocations: 7.938 kB / 0.5718 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3378, allocations: 3.938 kB / 0.5719 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3378, allocations: 1.062 kB / 0.5719 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.338, allocations: 226.7 kB / 0.5721 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3381, allocations: 101.6 kB / 0.5722 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3381, allocations: 2.656 kB / 0.5722 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3383, allocations: 26.59 kB / 0.5722 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3384, allocations: 8.453 kB / 0.5722 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3384, allocations: 14.89 kB / 0.5722 GB, free: 24.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.3385, allocations: 122.9 kB / 0.5723 GB, free: 24.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3385, allocations: 3.938 kB / 0.5723 GB, free: 24.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.3389, allocations: 82.64 kB / 0.5724 GB, free: 24.27 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 (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.0005833/0.3394, allocations: 0.8254 MB / 0.5732 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3397, allocations: 124.1 kB / 0.5733 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3397, allocations: 0.875 kB / 0.5733 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.3398, allocations: 45.81 kB / 0.5734 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.3402, allocations: 60.97 kB / 0.5734 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.342, allocations: 2.077 MB / 0.5755 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3422, allocations: 0.7149 MB / 0.5762 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.3424, allocations: 48.06 kB / 0.5762 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.3424, allocations: 46.17 kB / 0.5763 GB, free: 21 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3425, allocations: 0 / 0.5763 GB, free: 21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/0.3897, allocations: 5.03 MB / 0.5812 GB, free: 20.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.3899, allocations: 215.7 kB / 0.5814 GB, free: 20.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.261, allocations: 0 / 0.5814 GB, free: 20.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)