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: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 178.8 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.4985/0.4985, allocations: 90.81 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.245/1.245, allocations: 221.3 MB / 348.3 MB, free: 468 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.0009107/0.0009107, allocations: 97.47 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.707e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3597, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6546/1.014, allocations: 370.7 MB / 0.9222 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/1.015, allocations: 70.89 kB / 0.9223 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3788/1.394, allocations: 19.05 MB / 0.9409 GB, free: 235.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/1.394, allocations: 2.078 kB / 0.9409 GB, free: 235.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.394, allocations: 1.156 kB / 0.9409 GB, free: 235.5 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.0003413/1.394, allocations: 361.2 kB / 0.9412 GB, free: 235.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.394, allocations: 13.42 kB / 0.9412 GB, free: 235.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/1.394, allocations: 10.02 kB / 0.9412 GB, free: 235.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/1.394, allocations: 166.5 kB / 0.9414 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.394, allocations: 6.625 kB / 0.9414 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/1.394, allocations: 6.531 kB / 0.9414 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.394, allocations: 51.38 kB / 0.9415 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.394, allocations: 0.8125 kB / 0.9415 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.394, allocations: 3.938 kB / 0.9415 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.394, allocations: 4.578 kB / 0.9415 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/1.394, allocations: 16.45 kB / 0.9415 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/1.395, allocations: 165.6 kB / 0.9416 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/1.395, allocations: 54.61 kB / 0.9417 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/1.395, allocations: 23.02 kB / 0.9417 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/1.395, allocations: 0.6246 MB / 0.9423 GB, free: 234 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/1.395, allocations: 34.94 kB / 0.9424 GB, free: 234 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/1.395, allocations: 1.875 kB / 0.9424 GB, free: 234 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004945/1.396, allocations: 288.8 kB / 0.9426 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/1.396, allocations: 60 kB / 0.9427 GB, free: 233.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.504e-05/1.396, allocations: 92.38 kB / 0.9428 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/1.396, allocations: 25.7 kB / 0.9428 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/1.396, allocations: 89.02 kB / 0.9429 GB, free: 233.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/1.396, allocations: 31.25 kB / 0.9429 GB, free: 233.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.396, allocations: 0 / 0.9429 GB, free: 233.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/1.396, allocations: 322.1 kB / 0.9432 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/1.396, allocations: 8.906 kB / 0.9432 GB, free: 233.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/1.396, allocations: 56.86 kB / 0.9433 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/1.396, allocations: 19.03 kB / 0.9433 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.396, allocations: 0.9688 kB / 0.9433 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001323/1.396, allocations: 94.38 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.396, allocations: 5.031 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.396, allocations: 2.188 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.396, allocations: 7.859 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/1.397, allocations: 22.81 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.397, allocations: 2.438 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/1.397, allocations: 1.344 kB / 0.9434 GB, free: 233.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.397, allocations: 7.688 kB / 0.9435 GB, free: 233.1 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.775e-05/1.397, allocations: 110.8 kB / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/1.397, allocations: 15.67 kB / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/1.397, allocations: 9.031 kB / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.397, allocations: 0 / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.397, allocations: 0.9688 kB / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.397, allocations: 0 / 0.9436 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.397, allocations: 177.6 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.397, allocations: 6.141 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/1.397, allocations: 18.94 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.397, allocations: 1.062 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.397, allocations: 8.578 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.397, allocations: 0.5312 kB / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.397, allocations: 0 / 0.9438 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/1.397, allocations: 167.9 kB / 0.9439 GB, free: 232.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/1.397, allocations: 87.28 kB / 0.944 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/1.397, allocations: 4.125 kB / 0.944 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/1.397, allocations: 7.703 kB / 0.944 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/1.397, allocations: 5.969 kB / 0.944 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.397, allocations: 4.406 kB / 0.944 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.428e-05/1.397, allocations: 80.84 kB / 0.9441 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.397, allocations: 0 / 0.9441 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002255/1.398, allocations: 18.62 kB / 0.9441 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.0002088/1.398, allocations: 151.5 kB / 0.9443 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.398, allocations: 36.53 kB / 0.9443 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.398, allocations: 4.188 kB / 0.9443 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/1.398, allocations: 12.56 kB / 0.9443 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/1.398, allocations: 13.41 kB / 0.9444 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/1.399, allocations: 269.3 kB / 0.9446 GB, free: 232.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.399, allocations: 0.687 MB / 0.9453 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.058e-05/1.399, allocations: 3.438 kB / 0.9453 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/1.399, allocations: 15 kB / 0.9453 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/1.399, allocations: 4 kB / 0.9453 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.00395/1.403, allocations: 1.303 MB / 0.9466 GB, free: 231.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)