Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7028/0.7028, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009355/0.0009357, allocations: 176.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 404.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008896, allocations: 100.4 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.582e-05, allocations: 3.938 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.369, allocations: 326.6 MB / 0.947 GB, free: 207.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.369, allocations: 67.97 kB / 0.9471 GB, free: 207.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/1.393, allocations: 12.7 MB / 0.9595 GB, free: 195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/1.394, allocations: 0 / 0.9595 GB, free: 195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.394, allocations: 4 kB / 0.9595 GB, free: 195 MB / 0.6355 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.0002582/1.394, allocations: 334.4 kB / 0.9598 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.394, allocations: 8.031 kB / 0.9598 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.706e-05/1.394, allocations: 11.94 kB / 0.9598 GB, free: 194.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/1.394, allocations: 167 kB / 0.96 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.394, allocations: 8 kB / 0.96 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/1.394, allocations: 4.625 kB / 0.96 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.394, allocations: 53.67 kB / 0.9601 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.394, allocations: 7.922 kB / 0.9601 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.394, allocations: 0 / 0.9601 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.394, allocations: 0 / 0.9601 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/1.394, allocations: 19.89 kB / 0.9601 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/1.394, allocations: 173.5 kB / 0.9603 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/1.395, allocations: 54.56 kB / 0.9603 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/1.395, allocations: 16.86 kB / 0.9603 GB, free: 194 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/1.395, allocations: 0.6114 MB / 0.9609 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.395, allocations: 50.44 kB / 0.961 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/1.395, allocations: 0 / 0.961 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/1.396, allocations: 298.5 kB / 0.9613 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/1.396, allocations: 51.41 kB / 0.9613 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/1.396, allocations: 93 kB / 0.9614 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/1.396, allocations: 25.7 kB / 0.9614 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/1.396, allocations: 92.03 kB / 0.9615 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/1.396, allocations: 27.66 kB / 0.9615 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.396, allocations: 0 / 0.9615 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/1.396, allocations: 322.8 kB / 0.9618 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/1.396, allocations: 8 kB / 0.9618 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/1.396, allocations: 49.16 kB / 0.9619 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/1.396, allocations: 27.92 kB / 0.9619 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/1.396, allocations: 0 / 0.9619 GB, free: 192.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001088/1.396, allocations: 97.41 kB / 0.962 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.396, allocations: 8 kB / 0.962 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/1.396, allocations: 0 / 0.962 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.396, allocations: 4 kB / 0.962 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/1.396, allocations: 20.12 kB / 0.962 GB, free: 192 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.396, allocations: 3.984 kB / 0.9621 GB, free: 192 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/1.396, allocations: 4 kB / 0.9621 GB, free: 192 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.396, allocations: 4 kB / 0.9621 GB, free: 192 MB / 0.6355 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.891e-05/1.396, allocations: 112.9 kB / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/1.396, allocations: 7.953 kB / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.397, allocations: 8.094 kB / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.397, allocations: 4 kB / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.397, allocations: 288 / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.397, allocations: 4 kB / 0.9622 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/1.397, allocations: 173.7 kB / 0.9624 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.397, allocations: 3.938 kB / 0.9624 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/1.397, allocations: 19.97 kB / 0.9624 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.397, allocations: 0 / 0.9624 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.397, allocations: 7.953 kB / 0.9624 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.397, allocations: 0 / 0.9624 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.397, allocations: 0 / 0.9624 GB, free: 191.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/1.397, allocations: 171.4 kB / 0.9625 GB, free: 191.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/1.397, allocations: 89.14 kB / 0.9626 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.397, allocations: 0 / 0.9626 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/1.397, allocations: 7.953 kB / 0.9626 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/1.397, allocations: 7.984 kB / 0.9626 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.397, allocations: 4 kB / 0.9627 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.335e-05/1.397, allocations: 79.28 kB / 0.9627 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.397, allocations: 0 / 0.9627 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002286/1.398, allocations: 16 kB / 0.9627 GB, free: 191.2 MB / 0.6355 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.0001489/1.398, allocations: 127.2 kB / 0.9629 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001018/1.398, allocations: 43.88 kB / 0.9629 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.398, allocations: 4 kB / 0.9629 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/1.398, allocations: 12 kB / 0.9629 GB, free: 191.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.398, allocations: 4.219 kB / 0.9629 GB, free: 191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/1.398, allocations: 285.6 kB / 0.9632 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.399, allocations: 0.6887 MB / 0.9639 GB, free: 190 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.609e-05/1.399, allocations: 15.97 kB / 0.9639 GB, free: 190 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/1.399, allocations: 11.44 kB / 0.9639 GB, free: 190 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.399, allocations: 0 / 0.9639 GB, free: 190 MB / 0.6355 GB Notification: Performance of Templates: time 0.002861/1.402, allocations: 0.9143 MB / 0.9648 GB, free: 189.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)