Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006269/0.006269, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4756/0.4756, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.541/1.541, allocations: 223.3 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 101.5 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004301, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4497, allocations: 71.01 MB / 0.5594 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6969/1.147, allocations: 329.3 MB / 0.881 GB, free: 15.21 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.147, allocations: 68.94 kB / 0.8811 GB, free: 15.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02839/1.175, allocations: 13.32 MB / 0.8941 GB, free: 4.602 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.934e-06/1.175, allocations: 0 / 0.8941 GB, free: 4.602 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.175, allocations: 0 / 0.8941 GB, free: 4.602 MB / 0.573 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.0004279/1.176, allocations: 343 kB / 0.8944 GB, free: 4.219 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.176, allocations: 12.02 kB / 0.8945 GB, free: 4.207 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.176, allocations: 8.844 kB / 0.8945 GB, free: 4.199 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.176, allocations: 168.3 kB / 0.8946 GB, free: 3.996 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.176, allocations: 7.938 kB / 0.8946 GB, free: 3.992 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/1.176, allocations: 4.375 kB / 0.8946 GB, free: 3.988 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/1.176, allocations: 61.36 kB / 0.8947 GB, free: 3.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.176, allocations: 192 / 0.8947 GB, free: 3.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.176, allocations: 3.938 kB / 0.8947 GB, free: 3.926 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.176, allocations: 0 / 0.8947 GB, free: 3.926 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/1.177, allocations: 19.55 kB / 0.8947 GB, free: 3.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/1.177, allocations: 169 kB / 0.8949 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/1.177, allocations: 49.44 kB / 0.8949 GB, free: 3.652 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/1.177, allocations: 24.41 kB / 0.8949 GB, free: 3.629 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/1.178, allocations: 0.5929 MB / 0.8955 GB, free: 2.941 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.178, allocations: 30.56 kB / 0.8956 GB, free: 2.902 MB / 0.573 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/1.178, allocations: 4 kB / 0.8956 GB, free: 2.898 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0006409/1.178, allocations: 307.1 kB / 0.8959 GB, free: 2.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/1.179, allocations: 55.41 kB / 0.8959 GB, free: 2.504 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/1.179, allocations: 97.42 kB / 0.896 GB, free: 2.402 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/1.179, allocations: 29.33 kB / 0.896 GB, free: 2.371 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/1.179, allocations: 84.05 kB / 0.8961 GB, free: 2.285 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/1.179, allocations: 31.48 kB / 0.8961 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-06/1.179, allocations: 4 kB / 0.8961 GB, free: 2.254 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.179, allocations: 318.3 kB / 0.8964 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/1.179, allocations: 15.61 kB / 0.8965 GB, free: 1.926 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/1.179, allocations: 53.12 kB / 0.8965 GB, free: 1.859 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/1.179, allocations: 75.22 kB / 0.8966 GB, free: 1.781 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.179, allocations: 4 kB / 0.8966 GB, free: 1.777 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000148/1.179, allocations: 95.66 kB / 0.8967 GB, free: 1.691 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.179, allocations: 5.875 kB / 0.8967 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.179, allocations: 3.984 kB / 0.8967 GB, free: 1.684 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.179, allocations: 8.125 kB / 0.8967 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/1.179, allocations: 19.94 kB / 0.8967 GB, free: 1.656 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.179, allocations: 4 kB / 0.8967 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/1.18, allocations: 3.25 kB / 0.8967 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.18, allocations: 4 kB / 0.8967 GB, free: 1.648 MB / 0.573 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 () * Number of clocked 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 0.0001127/1.18, allocations: 120.9 kB / 0.8968 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.18, allocations: 4 kB / 0.8968 GB, free: 1.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/1.18, allocations: 7.469 kB / 0.8969 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.18, allocations: 4 kB / 0.8969 GB, free: 1.512 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.18, allocations: 448 / 0.8969 GB, free: 1.512 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.18, allocations: 0 / 0.8969 GB, free: 1.512 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.18, allocations: 176.9 kB / 0.897 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/1.18, allocations: 4 kB / 0.897 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/1.18, allocations: 19.94 kB / 0.897 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.18, allocations: 3.984 kB / 0.8971 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.18, allocations: 3.938 kB / 0.8971 GB, free: 1.266 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.18, allocations: 0 / 0.8971 GB, free: 1.266 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.18, allocations: 0 / 0.8971 GB, free: 1.266 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/1.18, allocations: 177.3 kB / 0.8972 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/1.181, allocations: 85.14 kB / 0.8973 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.181, allocations: 0 / 0.8973 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/1.181, allocations: 7.75 kB / 0.8973 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/1.181, allocations: 7.984 kB / 0.8973 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/1.181, allocations: 0 / 0.8973 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.528e-05/1.181, allocations: 83.22 kB / 0.8974 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/1.181, allocations: 0 / 0.8974 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002491/1.181, allocations: 19.44 kB / 0.8974 GB, free: 0.8789 MB / 0.573 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 () * Number of clocked 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.0001987/1.181, allocations: 114.9 kB / 0.8975 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.181, allocations: 55.14 kB / 0.8976 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.181, allocations: 0 / 0.8976 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.533e-05/1.181, allocations: 19.36 kB / 0.8976 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/1.182, allocations: 7.938 kB / 0.8976 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/1.182, allocations: 388.9 kB / 0.898 GB, free: 300 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/1.183, allocations: 0.6848 MB / 0.8986 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.778e-05/1.183, allocations: 11.98 kB / 0.8987 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/1.183, allocations: 11.44 kB / 0.8987 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/1.183, allocations: 0 / 0.8987 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of Templates: time 0.003316/1.186, allocations: 0.852 MB / 0.8995 GB, free: 14.72 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)