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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4929/0.4929, allocations: 90.92 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 95.81 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.75e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.287, allocations: 390 MB / 0.9345 GB, free: 91.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.288, allocations: 71.83 kB / 0.9346 GB, free: 91.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0534/1.341, allocations: 25.76 MB / 0.9597 GB, free: 70.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.726e-06/1.341, allocations: 0 / 0.9597 GB, free: 70.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.341, allocations: 7.938 kB / 0.9597 GB, free: 70.29 MB / 0.5886 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.0006194/1.342, allocations: 0.4915 MB / 0.9602 GB, free: 69.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.342, allocations: 8.031 kB / 0.9602 GB, free: 69.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/1.342, allocations: 23.77 kB / 0.9602 GB, free: 69.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/1.342, allocations: 214.4 kB / 0.9604 GB, free: 69.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.342, allocations: 8 kB / 0.9604 GB, free: 69.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.342, allocations: 8 kB / 0.9605 GB, free: 69.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003879/1.343, allocations: 408.8 kB / 0.9608 GB, free: 69.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/1.343, allocations: 210.4 kB / 0.961 GB, free: 68.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.343, allocations: 8 kB / 0.9611 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/1.343, allocations: 3.953 kB / 0.9611 GB, free: 68.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/1.343, allocations: 11.67 kB / 0.9611 GB, free: 68.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/1.344, allocations: 0.9882 MB / 0.962 GB, free: 67.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/1.344, allocations: 137.8 kB / 0.9622 GB, free: 67.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/1.344, allocations: 59.45 kB / 0.9622 GB, free: 67.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.345, allocations: 1.933 MB / 0.9641 GB, free: 65.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.345, allocations: 34.56 kB / 0.9641 GB, free: 65.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/1.345, allocations: 0 / 0.9641 GB, free: 65.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004794/1.346, allocations: 129.5 kB / 0.9643 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/1.346, allocations: 55.41 kB / 0.9643 GB, free: 65.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.346, allocations: 146 kB / 0.9645 GB, free: 65.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.346, allocations: 29.64 kB / 0.9645 GB, free: 65.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/1.346, allocations: 135.9 kB / 0.9646 GB, free: 64.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/1.346, allocations: 55.19 kB / 0.9647 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.346, allocations: 0 / 0.9647 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/1.346, allocations: 322.8 kB / 0.965 GB, free: 64.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/1.346, allocations: 28 kB / 0.965 GB, free: 64.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/1.346, allocations: 125.7 kB / 0.9651 GB, free: 64.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/1.346, allocations: 77.84 kB / 0.9652 GB, free: 64.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.346, allocations: 4 kB / 0.9652 GB, free: 64.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000407/1.347, allocations: 209.2 kB / 0.9654 GB, free: 64.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.347, allocations: 7.953 kB / 0.9654 GB, free: 64.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.347, allocations: 4.469 kB / 0.9654 GB, free: 64.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.347, allocations: 12 kB / 0.9654 GB, free: 64.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.347, allocations: 55.91 kB / 0.9655 GB, free: 64.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.347, allocations: 7.938 kB / 0.9655 GB, free: 64.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/1.347, allocations: 23.75 kB / 0.9655 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/1.347, allocations: 16 kB / 0.9655 GB, free: 63.98 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/1.347, allocations: 116.8 kB / 0.9656 GB, free: 63.86 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003314/1.348, allocations: 135.3 kB / 0.9658 GB, free: 63.72 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/1.348, allocations: 11.86 kB / 0.9658 GB, free: 63.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/1.348, allocations: 182 kB / 0.9659 GB, free: 63.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.348, allocations: 0 / 0.9659 GB, free: 63.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.348, allocations: 0 / 0.9659 GB, free: 63.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.348, allocations: 0 / 0.9659 GB, free: 63.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/1.348, allocations: 178.2 kB / 0.9661 GB, free: 63.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.348, allocations: 4 kB / 0.9661 GB, free: 63.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.348, allocations: 31.97 kB / 0.9662 GB, free: 63.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/1.348, allocations: 11.89 kB / 0.9662 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/1.348, allocations: 0 / 0.9662 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.348, allocations: 0 / 0.9662 GB, free: 63.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.348, allocations: 4 kB / 0.9662 GB, free: 63.26 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/1.349, allocations: 237.1 kB / 0.9664 GB, free: 63.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/1.349, allocations: 109 kB / 0.9665 GB, free: 62.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/1.349, allocations: 3.953 kB / 0.9665 GB, free: 62.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/1.349, allocations: 19.89 kB / 0.9665 GB, free: 62.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/1.349, allocations: 15.98 kB / 0.9665 GB, free: 62.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.349, allocations: 11.98 kB / 0.9665 GB, free: 62.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.371e-05/1.349, allocations: 99.28 kB / 0.9666 GB, free: 62.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.349, allocations: 0 / 0.9666 GB, free: 62.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003571/1.35, allocations: 79.86 kB / 0.9667 GB, free: 62.66 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007139/1.35, allocations: 0.8739 MB / 0.9676 GB, free: 61.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001688/1.35, allocations: 95.8 kB / 0.9677 GB, free: 61.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.35, allocations: 8.875 kB / 0.9677 GB, free: 61.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/1.351, allocations: 41.61 kB / 0.9677 GB, free: 61.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/1.351, allocations: 35.92 kB / 0.9677 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.351, allocations: 231.7 kB / 0.968 GB, free: 61.33 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/1.352, allocations: 0.7167 MB / 0.9687 GB, free: 60.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000149/1.352, allocations: 45.64 kB / 0.9687 GB, free: 60.54 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/1.352, allocations: 43.42 kB / 0.9688 GB, free: 60.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/1.352, allocations: 0 / 0.9688 GB, free: 60.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/1.374, allocations: 4.204 MB / 0.9729 GB, free: 56.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.374, allocations: 148.1 kB / 0.973 GB, free: 56.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.979, allocations: 0 / 0.973 GB, free: 56.12 MB / 0.5886 GB (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/linux/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)