Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.00168/0.001681, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4665/0.4665, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009117, allocations: 99.92 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.941e-05, allocations: 0 / 0.4897 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3868, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7049/1.092, allocations: 370.7 MB / 0.9223 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.092, allocations: 64.41 kB / 0.9224 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3734/1.466, allocations: 19.05 MB / 0.941 GB, free: 235.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/1.466, allocations: 2.609 kB / 0.941 GB, free: 235.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.466, allocations: 3.875 kB / 0.941 GB, free: 235.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003519/1.466, allocations: 366.2 kB / 0.9413 GB, free: 235.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.466, allocations: 13.92 kB / 0.9413 GB, free: 235.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/1.466, allocations: 38.86 kB / 0.9414 GB, free: 235.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/1.466, allocations: 3.188 kB / 0.9414 GB, free: 235.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.523e-05/1.466, allocations: 163.8 kB / 0.9415 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.466, allocations: 7.469 kB / 0.9415 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/1.466, allocations: 6.75 kB / 0.9415 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.466, allocations: 55.81 kB / 0.9416 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.466, allocations: 2.312 kB / 0.9416 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.466, allocations: 0.7188 kB / 0.9416 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.466, allocations: 4.734 kB / 0.9416 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/1.466, allocations: 14.86 kB / 0.9416 GB, free: 235 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/1.467, allocations: 167.1 kB / 0.9418 GB, free: 234.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.467, allocations: 56.52 kB / 0.9418 GB, free: 234.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/1.467, allocations: 17.73 kB / 0.9419 GB, free: 234.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.467, allocations: 0.631 MB / 0.9425 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.468, allocations: 34.94 kB / 0.9425 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/1.468, allocations: 0 / 0.9425 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005228/1.468, allocations: 286.9 kB / 0.9428 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/1.468, allocations: 52.47 kB / 0.9428 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/1.468, allocations: 97.8 kB / 0.9429 GB, free: 233.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/1.468, allocations: 28.92 kB / 0.9429 GB, free: 233.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/1.468, allocations: 89.02 kB / 0.943 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/1.468, allocations: 27.8 kB / 0.9431 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.468, allocations: 1.312 kB / 0.9431 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/1.468, allocations: 318.3 kB / 0.9434 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/1.468, allocations: 17.84 kB / 0.9434 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/1.468, allocations: 50.81 kB / 0.9434 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/1.468, allocations: 19.09 kB / 0.9434 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/1.468, allocations: 3.656 kB / 0.9435 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001352/1.469, allocations: 96.5 kB / 0.9435 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.469, allocations: 6.125 kB / 0.9435 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.469, allocations: 1.344 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.469, allocations: 2 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/1.469, allocations: 20.34 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.469, allocations: 6.375 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/1.469, allocations: 9.406 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.469, allocations: 4 kB / 0.9436 GB, free: 233.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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 4.841e-05/1.469, allocations: 108.6 kB / 0.9437 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/1.469, allocations: 10.83 kB / 0.9437 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/1.469, allocations: 8.625 kB / 0.9437 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.469, allocations: 4.75 kB / 0.9437 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.469, allocations: 2.469 kB / 0.9437 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.469, allocations: 3.938 kB / 0.9437 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/1.469, allocations: 176 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.469, allocations: 1.156 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/1.469, allocations: 16 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.469, allocations: 8.828 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/1.469, allocations: 3.562 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.469, allocations: 0.9688 kB / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.469, allocations: 0 / 0.9439 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/1.469, allocations: 166.6 kB / 0.9441 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/1.47, allocations: 85.91 kB / 0.9442 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.47, allocations: 5.328 kB / 0.9442 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/1.47, allocations: 4.516 kB / 0.9442 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/1.47, allocations: 8.969 kB / 0.9442 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/1.47, allocations: 1.625 kB / 0.9442 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.119e-05/1.47, allocations: 83.56 kB / 0.9443 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.47, allocations: 0 / 0.9443 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002705/1.47, allocations: 15.66 kB / 0.9443 GB, free: 232.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0004482/1.47, allocations: 0.752 MB / 0.945 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001415/1.471, allocations: 41.62 kB / 0.945 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.471, allocations: 2.188 kB / 0.9451 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/1.471, allocations: 21.22 kB / 0.9451 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/1.471, allocations: 9.016 kB / 0.9451 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/1.472, allocations: 316 kB / 0.9454 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/1.472, allocations: 0.687 MB / 0.9461 GB, free: 231 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.981e-05/1.472, allocations: 14.55 kB / 0.9461 GB, free: 231 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/1.472, allocations: 14.41 kB / 0.9461 GB, free: 231 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.472, allocations: 0 / 0.9461 GB, free: 231 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/1.485, allocations: 2.325 MB / 0.9484 GB, free: 230.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.485, allocations: 158.7 kB / 0.9485 GB, free: 230.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/3.098, allocations: 0 / 0.9485 GB, free: 230.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)