Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 110 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002018, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.31 kB / 0.5576 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1686, allocations: 76.18 MB / 0.632 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002345/0.171, allocations: 1.25 MB / 0.6333 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6052/0.7762, allocations: 137.7 MB / 0.7677 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.7763, allocations: 0 / 0.7677 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.7763, allocations: 6.938 kB / 0.7677 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.7765, allocations: 4 kB / 0.7677 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.7779, allocations: 465 kB / 0.7682 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.778, allocations: 38.58 kB / 0.7682 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.7781, allocations: 5 kB / 0.7682 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.7781, allocations: 21.28 kB / 0.7682 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.7782, allocations: 18.7 kB / 0.7682 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.7783, allocations: 7.344 kB / 0.7682 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.7799, allocations: 0.8234 MB / 0.7691 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.78, allocations: 15.91 kB / 0.7691 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.78, allocations: 17.45 kB / 0.7691 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008107/0.7808, allocations: 450.5 kB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.7809, allocations: 0.5625 kB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7809, allocations: 0 / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7809, allocations: 0.5625 kB / 0.7695 GB, free: 15.14 MB / 0.5919 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.0005433/0.7814, allocations: 373.8 kB / 0.7699 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7815, allocations: 9.469 kB / 0.7699 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.7817, allocations: 14.97 kB / 0.7699 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.7818, allocations: 165.4 kB / 0.7701 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.7818, allocations: 2.125 kB / 0.7701 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.7819, allocations: 8.141 kB / 0.7701 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.782, allocations: 61.48 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.782, allocations: 0.5312 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7821, allocations: 1 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7821, allocations: 0.5 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.7821, allocations: 22.53 kB / 0.7701 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.7823, allocations: 163.2 kB / 0.7703 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7825, allocations: 51.22 kB / 0.7704 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.7825, allocations: 17.7 kB / 0.7704 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.7946, allocations: 3.213 MB / 0.7735 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.7947, allocations: 31.84 kB / 0.7735 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.7947, allocations: 0 / 0.7735 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04236/0.837, allocations: 15.01 MB / 0.7882 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.8371, allocations: 51.41 kB / 0.7882 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.8372, allocations: 95.97 kB / 0.7883 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.8372, allocations: 28.95 kB / 0.7884 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.8372, allocations: 94.61 kB / 0.7884 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.8373, allocations: 50.97 kB / 0.7885 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.8373, allocations: 26.69 kB / 0.7885 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.8374, allocations: 321 kB / 0.7888 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.8375, allocations: 19.28 kB / 0.7888 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.8376, allocations: 26.77 kB / 0.7889 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.8377, allocations: 60.97 kB / 0.7889 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.8377, allocations: 2.781 kB / 0.7889 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002364/0.8379, allocations: 104.9 kB / 0.789 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8379, allocations: 7.781 kB / 0.789 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.838, allocations: 0 / 0.789 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.838, allocations: 1.203 kB / 0.789 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.8381, allocations: 27.67 kB / 0.7891 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.8381, allocations: 3.625 kB / 0.7891 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.8381, allocations: 3.312 kB / 0.7891 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.8381, allocations: 4.344 kB / 0.7891 GB, free: 10.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.8382, allocations: 131.8 kB / 0.7892 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.8383, allocations: 6.625 kB / 0.7892 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.8385, allocations: 117.4 kB / 0.7893 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8386, allocations: 2.531 kB / 0.7893 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8386, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8386, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.8387, allocations: 178.7 kB / 0.7895 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8387, allocations: 4 kB / 0.7895 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.8389, allocations: 32.47 kB / 0.7895 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8389, allocations: 3.938 kB / 0.7895 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8389, allocations: 2.656 kB / 0.7895 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8389, allocations: 0 / 0.7895 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8389, allocations: 0 / 0.7895 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.8392, allocations: 159.3 kB / 0.7897 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.8392, allocations: 88 kB / 0.7898 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.8393, allocations: 4 kB / 0.7898 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.8394, allocations: 16.86 kB / 0.7898 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.8395, allocations: 3.984 kB / 0.7898 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.8395, allocations: 12.11 kB / 0.7898 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.8395, allocations: 75.28 kB / 0.7899 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8395, allocations: 2.844 kB / 0.7899 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002015/0.8415, allocations: 0.561 MB / 0.7904 GB, free: 9.707 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/0.8446, allocations: 356.2 kB / 0.7908 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.8448, allocations: 63.2 kB / 0.7908 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8448, allocations: 0 / 0.7908 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.8449, allocations: 36.98 kB / 0.7909 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.8451, allocations: 12.34 kB / 0.7909 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.8457, allocations: 355.7 kB / 0.7912 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.8459, allocations: 0.6886 MB / 0.7919 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.077e-05/0.846, allocations: 22.8 kB / 0.7919 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.8461, allocations: 22.19 kB / 0.7919 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8461, allocations: 0 / 0.7919 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of Templates: time 0.03404/0.8801, allocations: 24.26 MB / 0.8156 GB, free: 5.781 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)