Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001828/0.001828, allocations: 226 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7618/0.7618, allocations: 138.4 MB / 455.4 MB, free: 1.578 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.555 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.338e-05, allocations: 5.828 kB / 0.555 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001632/0.001655, allocations: 1.305 MB / 0.5563 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3388/0.3404, allocations: 133.1 MB / 0.6862 GB, free: 19.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.3405, allocations: 2.5 kB / 0.6862 GB, free: 19.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.3405, allocations: 3.938 kB / 0.6863 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3405, allocations: 3.938 kB / 0.6863 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3417, allocations: 468.1 kB / 0.6867 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.3417, allocations: 47.58 kB / 0.6867 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.3418, allocations: 0 / 0.6867 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.3418, allocations: 34.11 kB / 0.6868 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.3419, allocations: 13.02 kB / 0.6868 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3419, allocations: 0 / 0.6868 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.3429, allocations: 0.8 MB / 0.6876 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3429, allocations: 14.48 kB / 0.6876 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.3429, allocations: 13.41 kB / 0.6876 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.3435, allocations: 0.5551 MB / 0.6881 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3435, allocations: 3.938 kB / 0.6881 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3435, allocations: 0 / 0.6881 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3435, allocations: 3.938 kB / 0.6881 GB, free: 18.7 MB / 0.5105 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.0004312/0.3439, allocations: 408.2 kB / 0.6885 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3439, allocations: 9.094 kB / 0.6885 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.3441, allocations: 22.22 kB / 0.6886 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.248e-05/0.3442, allocations: 111.3 kB / 0.6887 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3442, allocations: 384 / 0.6887 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3442, allocations: 9.875 kB / 0.6887 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3443, allocations: 127.4 kB / 0.6888 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3443, allocations: 0 / 0.6888 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3443, allocations: 3.938 kB / 0.6888 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3443, allocations: 7.219 kB / 0.6888 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.3444, allocations: 24.84 kB / 0.6888 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.3445, allocations: 122.3 kB / 0.689 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.3446, allocations: 50.77 kB / 0.689 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.3446, allocations: 21.89 kB / 0.689 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005108/0.3497, allocations: 2.879 MB / 0.6918 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3497, allocations: 41.38 kB / 0.6919 GB, free: 16.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3497, allocations: 3.984 kB / 0.6919 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.02282/0.3725, allocations: 8.149 MB / 0.6998 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3726, allocations: 51.41 kB / 0.6999 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.3726, allocations: 149.9 kB / 0.7 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.3726, allocations: 33.7 kB / 0.7001 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.3726, allocations: 126.9 kB / 0.7002 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3727, allocations: 39.77 kB / 0.7002 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3727, allocations: 39.38 kB / 0.7003 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.3728, allocations: 0.4884 MB / 0.7007 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.3728, allocations: 23.36 kB / 0.7008 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.3728, allocations: 15.94 kB / 0.7008 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.3729, allocations: 51.61 kB / 0.7008 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3729, allocations: 4 kB / 0.7008 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001992/0.3731, allocations: 100.7 kB / 0.7009 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3732, allocations: 11.92 kB / 0.7009 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3732, allocations: 0 / 0.7009 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3732, allocations: 4 kB / 0.7009 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3733, allocations: 31.94 kB / 0.701 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3733, allocations: 0 / 0.701 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.3733, allocations: 0 / 0.701 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3733, allocations: 11.98 kB / 0.701 GB, free: 6.926 MB / 0.5105 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 5.158e-05/0.3734, allocations: 160.6 kB / 0.7011 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3734, allocations: 15.83 kB / 0.7011 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3736, allocations: 111.5 kB / 0.7013 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3736, allocations: 8 kB / 0.7013 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3736, allocations: 0 / 0.7013 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3736, allocations: 0 / 0.7013 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.3737, allocations: 131.3 kB / 0.7014 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3737, allocations: 3.938 kB / 0.7014 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.3738, allocations: 23.98 kB / 0.7014 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3738, allocations: 4 kB / 0.7014 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3738, allocations: 7.938 kB / 0.7014 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3738, allocations: 0 / 0.7014 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3738, allocations: 0 / 0.7014 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3741, allocations: 160.2 kB / 0.7016 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3741, allocations: 7.984 kB / 0.7016 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3741, allocations: 3.938 kB / 0.7016 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.3742, allocations: 12 kB / 0.7016 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.3742, allocations: 7.984 kB / 0.7016 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3742, allocations: 11.98 kB / 0.7016 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.3742, allocations: 119.2 kB / 0.7017 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3742, allocations: 0 / 0.7017 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001527/0.3758, allocations: 0.5699 MB / 0.7023 GB, free: 5.512 MB / 0.5105 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.002542/0.3783, allocations: 394.8 kB / 0.7027 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.3785, allocations: 66.97 kB / 0.7027 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3785, allocations: 0 / 0.7027 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.3785, allocations: 39.61 kB / 0.7028 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3788, allocations: 25.92 kB / 0.7028 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.3795, allocations: 280.8 kB / 0.7031 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.3795, allocations: 65.36 kB / 0.7031 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.3796, allocations: 26.69 kB / 0.7031 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.3796, allocations: 24.5 kB / 0.7032 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.3796, allocations: 0 / 0.7032 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of Templates: time 0.03938/0.419, allocations: 26.11 MB / 0.7287 GB, free: 10.5 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2981695109047]