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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.001327/0.001327, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.503/1.503, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9234/0.9234, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 69.28 kB / 0.5911 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 83.27 MB / 0.6724 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002358/0.1903, allocations: 1.254 MB / 0.6737 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6611/0.8514, allocations: 138.1 MB / 0.8085 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.8515, allocations: 1.031 kB / 0.8085 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.8515, allocations: 2.25 kB / 0.8085 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.8516, allocations: 5.031 kB / 0.8085 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.8532, allocations: 461.3 kB / 0.809 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.8533, allocations: 43.5 kB / 0.809 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.8534, allocations: 6.375 kB / 0.809 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.8534, allocations: 23.58 kB / 0.809 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.8535, allocations: 18.52 kB / 0.8091 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.8535, allocations: 2.156 kB / 0.8091 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.8551, allocations: 0.8333 MB / 0.8099 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.8551, allocations: 10.38 kB / 0.8099 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.8552, allocations: 16.78 kB / 0.8099 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.8558, allocations: 445.8 kB / 0.8103 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8558, allocations: 0 / 0.8103 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8558, allocations: 0 / 0.8103 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.8559, allocations: 1.25 kB / 0.8103 GB, free: 12.25 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.0006367/0.8565, allocations: 377.3 kB / 0.8107 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8565, allocations: 10.88 kB / 0.8107 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.8567, allocations: 16.17 kB / 0.8107 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.8569, allocations: 166.2 kB / 0.8109 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8569, allocations: 2.156 kB / 0.8109 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.8569, allocations: 9.625 kB / 0.8109 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.8571, allocations: 60.95 kB / 0.8109 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8571, allocations: 1.656 kB / 0.8109 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.8571, allocations: 0 / 0.8109 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8571, allocations: 2.312 kB / 0.8109 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.8572, allocations: 21.31 kB / 0.811 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.8574, allocations: 164.3 kB / 0.8111 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.8576, allocations: 50.39 kB / 0.8112 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.8576, allocations: 18.55 kB / 0.8112 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.8684, allocations: 3.215 MB / 0.8143 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.8685, allocations: 31.72 kB / 0.8144 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.8685, allocations: 4 kB / 0.8144 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03985/0.9083, allocations: 14.99 MB / 0.829 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.9084, allocations: 51.41 kB / 0.829 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9085, allocations: 105.5 kB / 0.8291 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.9085, allocations: 29.7 kB / 0.8292 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.9086, allocations: 83.27 kB / 0.8293 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.9086, allocations: 41.73 kB / 0.8293 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.9087, allocations: 35.7 kB / 0.8293 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9089, allocations: 318.5 kB / 0.8296 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.9089, allocations: 18.81 kB / 0.8296 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.909, allocations: 31.3 kB / 0.8297 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.9091, allocations: 64.91 kB / 0.8297 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.9091, allocations: 0 / 0.8297 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002337/0.9093, allocations: 101.1 kB / 0.8298 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9094, allocations: 8 kB / 0.8298 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.9094, allocations: 240 / 0.8298 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9094, allocations: 3.938 kB / 0.8298 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.9095, allocations: 27.55 kB / 0.8299 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.9095, allocations: 3.984 kB / 0.8299 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.9096, allocations: 0 / 0.8299 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.9096, allocations: 11.31 kB / 0.8299 GB, free: 4.371 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.0001395/0.9097, allocations: 121.3 kB / 0.83 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.9098, allocations: 7.953 kB / 0.83 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.9101, allocations: 128.9 kB / 0.8301 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.9101, allocations: 4 kB / 0.8301 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9101, allocations: 8.812 kB / 0.8301 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9101, allocations: 0 / 0.8301 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.9103, allocations: 178.5 kB / 0.8303 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.9103, allocations: 0 / 0.8303 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.9105, allocations: 27.67 kB / 0.8303 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9105, allocations: 0 / 0.8303 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9105, allocations: 5.5 kB / 0.8303 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9105, allocations: 0 / 0.8303 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9105, allocations: 0 / 0.8303 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.9108, allocations: 163.4 kB / 0.8305 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.9109, allocations: 88.77 kB / 0.8306 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.911, allocations: 0 / 0.8306 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9111, allocations: 15.23 kB / 0.8306 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.9111, allocations: 4.094 kB / 0.8306 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.9111, allocations: 15.47 kB / 0.8306 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.9112, allocations: 75.28 kB / 0.8307 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 4.094 kB / 0.8307 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002926/0.9141, allocations: 0.565 MB / 0.8312 GB, free: 2.969 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.002893/0.917, allocations: 346.9 kB / 0.8316 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.9172, allocations: 61.53 kB / 0.8316 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9172, allocations: 0 / 0.8316 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.9173, allocations: 38.73 kB / 0.8317 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.9175, allocations: 11.5 kB / 0.8317 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.9182, allocations: 340.7 kB / 0.832 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.9186, allocations: 0.6963 MB / 0.8327 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.9187, allocations: 28.53 kB / 0.8327 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.9187, allocations: 14.75 kB / 0.8327 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.9187, allocations: 0 / 0.8327 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of Templates: time 0.0422/0.9609, allocations: 24.27 MB / 0.8564 GB, free: 9.188 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480]