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.001226/0.001225, allocations: 118.5 kB / 17.09 MB, free: 5.988 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.001317/0.001317, allocations: 189.9 kB / 18.02 MB, free: 5.074 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 62.42 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002188/0.137, allocations: 1.249 MB / 0.6339 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.515/0.652, allocations: 137.7 MB / 0.7684 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.6521, allocations: 3.938 kB / 0.7684 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.6522, allocations: 2.438 kB / 0.7684 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.6523, allocations: 7.562 kB / 0.7684 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.6539, allocations: 453 kB / 0.7688 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.654, allocations: 44.56 kB / 0.7689 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.6541, allocations: 2.594 kB / 0.7689 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.6542, allocations: 23.41 kB / 0.7689 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.6542, allocations: 18.75 kB / 0.7689 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.6543, allocations: 1.375 kB / 0.7689 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.6563, allocations: 0.8293 MB / 0.7697 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.6563, allocations: 9.344 kB / 0.7697 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.6563, allocations: 17.12 kB / 0.7697 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.6574, allocations: 449.2 kB / 0.7702 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6574, allocations: 4.625 kB / 0.7702 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6574, allocations: 0.5625 kB / 0.7702 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.6574, allocations: 0.75 kB / 0.7702 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.0008035/0.6583, allocations: 371.7 kB / 0.7705 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6583, allocations: 11.53 kB / 0.7705 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.6586, allocations: 13.33 kB / 0.7705 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.6587, allocations: 161.7 kB / 0.7707 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6587, allocations: 6.562 kB / 0.7707 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.6587, allocations: 8.094 kB / 0.7707 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.6589, allocations: 61.75 kB / 0.7708 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6589, allocations: 1.203 kB / 0.7708 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.659, allocations: 1 kB / 0.7708 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.659, allocations: 1.062 kB / 0.7708 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.6591, allocations: 19.2 kB / 0.7708 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.6593, allocations: 162.6 kB / 0.771 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.6594, allocations: 54.16 kB / 0.771 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.6595, allocations: 25.59 kB / 0.771 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/0.6725, allocations: 3.208 MB / 0.7742 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.6726, allocations: 35.59 kB / 0.7742 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.405e-06/0.6726, allocations: 0 / 0.7742 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04404/0.7167, allocations: 15 MB / 0.7888 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.7168, allocations: 55.05 kB / 0.7889 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.7169, allocations: 93.05 kB / 0.789 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.7169, allocations: 27.58 kB / 0.789 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.7169, allocations: 88.08 kB / 0.7891 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.717, allocations: 52.39 kB / 0.7891 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.7171, allocations: 33.45 kB / 0.7892 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7172, allocations: 310.8 kB / 0.7895 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.7172, allocations: 23.67 kB / 0.7895 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.7173, allocations: 25.86 kB / 0.7895 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.7174, allocations: 67.08 kB / 0.7896 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.7174, allocations: 0 / 0.7896 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002136/0.7177, allocations: 106.8 kB / 0.7897 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7177, allocations: 7.219 kB / 0.7897 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7177, allocations: 7.938 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7177, allocations: 0 / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7178, allocations: 27.45 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7179, allocations: 3 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.7179, allocations: 6.266 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.7179, allocations: 2.312 kB / 0.7897 GB, free: 10.38 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 0.0001/0.718, allocations: 122.7 kB / 0.7899 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.7181, allocations: 9.031 kB / 0.7899 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.7183, allocations: 125.1 kB / 0.79 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7184, allocations: 7.203 kB / 0.79 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7184, allocations: 0 / 0.79 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7184, allocations: 3.984 kB / 0.79 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.7186, allocations: 176.6 kB / 0.7902 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7186, allocations: 2.594 kB / 0.7902 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.7187, allocations: 17.94 kB / 0.7902 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.7187, allocations: 5.812 kB / 0.7902 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7187, allocations: 11.66 kB / 0.7902 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7187, allocations: 0 / 0.7902 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7187, allocations: 0.875 kB / 0.7902 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.7191, allocations: 153.1 kB / 0.7903 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.7192, allocations: 90.66 kB / 0.7904 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.7192, allocations: 3.188 kB / 0.7904 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7194, allocations: 10.84 kB / 0.7904 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.7194, allocations: 13.39 kB / 0.7905 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.7194, allocations: 6.312 kB / 0.7905 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.7195, allocations: 77.69 kB / 0.7905 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7195, allocations: 1.094 kB / 0.7905 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002917/0.7224, allocations: 0.5625 MB / 0.7911 GB, free: 9.68 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.004918/0.7274, allocations: 351.3 kB / 0.7914 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.7277, allocations: 69.61 kB / 0.7915 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.7277, allocations: 4 kB / 0.7915 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.7278, allocations: 34.11 kB / 0.7915 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.728, allocations: 12 kB / 0.7915 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.7288, allocations: 381.2 kB / 0.7919 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.7291, allocations: 0.6894 MB / 0.7926 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.7292, allocations: 21.73 kB / 0.7926 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.7292, allocations: 0 / 0.7926 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of Templates: time 0.02678/0.756, allocations: 14.33 MB / 0.8066 GB, free: 15.69 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)