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.001024/0.001024, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002412, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001031/0.001031, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002357, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08632/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001278/0.001278, allocations: 226.7 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002865, allocations: 479.1 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7277/0.7277, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06712/0.7949, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.242e-06/1.242e-06, allocations: 0 / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.711e-05, allocations: 6.312 kB / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001682/0.0017, allocations: 1.364 MB / 429.4 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3095/0.3112, allocations: 133.2 MB / 0.5495 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.3113, allocations: 0 / 0.5495 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3113, allocations: 3.938 kB / 0.5495 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.3113, allocations: 3.938 kB / 0.5495 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3125, allocations: 425.9 kB / 0.5499 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.3126, allocations: 35.86 kB / 0.5499 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.3126, allocations: 7.984 kB / 0.5499 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.3127, allocations: 31.91 kB / 0.5499 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.3128, allocations: 19.91 kB / 0.55 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3128, allocations: 4 kB / 0.55 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.3143, allocations: 0.8476 MB / 0.5508 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.3143, allocations: 4 kB / 0.5508 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3143, allocations: 8.625 kB / 0.5508 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.3149, allocations: 415.3 kB / 0.5512 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.3149, allocations: 0 / 0.5512 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3149, allocations: 4 kB / 0.5512 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.315, allocations: 4 kB / 0.5512 GB, free: 8.012 MB / 0.5261 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.0005591/0.3155, allocations: 301 kB / 0.5515 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3156, allocations: 12.75 kB / 0.5515 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.3158, allocations: 104.8 kB / 0.5516 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/0.3159, allocations: 103.1 kB / 0.5517 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3159, allocations: 8.375 kB / 0.5517 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.316, allocations: 4.375 kB / 0.5517 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3161, allocations: 127.5 kB / 0.5518 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3161, allocations: 0 / 0.5518 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3161, allocations: 11.94 kB / 0.5518 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3161, allocations: 0 / 0.5518 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.3162, allocations: 19.92 kB / 0.5519 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.3163, allocations: 65.59 kB / 0.5519 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.3163, allocations: 40.11 kB / 0.552 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.3164, allocations: 16.8 kB / 0.552 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005713/0.3221, allocations: 2.461 MB / 0.5544 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3221, allocations: 30.56 kB / 0.5544 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.3221, allocations: 0 / 0.5544 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.01846/0.3406, allocations: 6.425 MB / 0.5607 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3406, allocations: 55.34 kB / 0.5607 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.3406, allocations: 98.72 kB / 0.5608 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3407, allocations: 25.7 kB / 0.5609 GB, free: 14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.3407, allocations: 88.06 kB / 0.5609 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3407, allocations: 39.64 kB / 0.561 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3408, allocations: 37.69 kB / 0.561 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.3409, allocations: 314.8 kB / 0.5613 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.3409, allocations: 11.98 kB / 0.5613 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.3409, allocations: 13.12 kB / 0.5613 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.144e-05/0.341, allocations: 46.33 kB / 0.5614 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.341, allocations: 0 / 0.5614 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001512/0.3411, allocations: 75.61 kB / 0.5615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3412, allocations: 4 kB / 0.5615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3412, allocations: 0 / 0.5615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3412, allocations: 3.938 kB / 0.5615 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.3413, allocations: 31.92 kB / 0.5615 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3413, allocations: 0.5469 kB / 0.5615 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.3413, allocations: 4 kB / 0.5615 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3413, allocations: 4 kB / 0.5615 GB, free: 13.32 MB / 0.5417 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 6.4e-05/0.3414, allocations: 117.8 kB / 0.5616 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3414, allocations: 15.88 kB / 0.5616 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3417, allocations: 105.5 kB / 0.5617 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3417, allocations: 3.938 kB / 0.5617 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3417, allocations: 0 / 0.5617 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3417, allocations: 1.688 kB / 0.5617 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.822e-05/0.3418, allocations: 77.89 kB / 0.5618 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3418, allocations: 4 kB / 0.5618 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.3419, allocations: 31.98 kB / 0.5618 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.3419, allocations: 4 kB / 0.5618 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3419, allocations: 0 / 0.5618 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3419, allocations: 7.984 kB / 0.5619 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3419, allocations: 3.938 kB / 0.5619 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3419, allocations: 4 kB / 0.5619 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3421, allocations: 116.9 kB / 0.562 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3421, allocations: 0 / 0.562 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.3422, allocations: 15.98 kB / 0.562 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.3422, allocations: 12.8 kB / 0.562 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3422, allocations: 4 kB / 0.562 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.11e-05/0.3422, allocations: 12.8 kB / 0.562 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 0 / 0.562 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001398/0.3436, allocations: 0.5582 MB / 0.5626 GB, free: 12.18 MB / 0.5417 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.002362/0.346, allocations: 388.9 kB / 0.5629 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.3461, allocations: 56.7 kB / 0.563 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.3461, allocations: 14.11 kB / 0.563 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.3461, allocations: 28.84 kB / 0.563 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3463, allocations: 29.86 kB / 0.5631 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3474, allocations: 198.8 kB / 0.5632 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.3475, allocations: 67.2 kB / 0.5633 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.73e-05/0.3475, allocations: 29.08 kB / 0.5633 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.3476, allocations: 75.36 kB / 0.5634 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.3476, allocations: 0 / 0.5634 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of Templates: time 0.03602/0.3836, allocations: 25.91 MB / 0.5887 GB, free: 1.383 MB / 0.5573 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: 4.0737678380683064]