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.0009725/0.0009725, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002399, allocations: 435.8 kB / 10.33 MB, free: 368 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.001399/0.001399, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002877, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9425/0.9425, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07693/1.019, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.00134/0.00134, allocations: 240.4 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.002248, allocations: 474.9 kB / 244.7 MB, free: 14.17 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.7074/0.7074, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0733/0.7807, allocations: 42.4 MB / 426.5 MB, free: 5.961 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.904e-06/1.904e-06, allocations: 3.938 kB / 427.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.947e-05, allocations: 2.312 kB / 427.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001995/0.002015, allocations: 1.352 MB / 429.1 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3084/0.3104, allocations: 133.2 MB / 0.5492 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.3104, allocations: 3.938 kB / 0.5492 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.3104, allocations: 0 / 0.5492 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.3105, allocations: 7.984 kB / 0.5492 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.3114, allocations: 427.5 kB / 0.5496 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.3115, allocations: 39.86 kB / 0.5496 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.3115, allocations: 4 kB / 0.5496 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.3116, allocations: 27.95 kB / 0.5497 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.3116, allocations: 19.91 kB / 0.5497 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3116, allocations: 4 kB / 0.5497 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.3127, allocations: 0.8476 MB / 0.5505 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3127, allocations: 8 kB / 0.5505 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.3127, allocations: 8 kB / 0.5505 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.3132, allocations: 419.2 kB / 0.5509 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.872e-05/0.3132, allocations: 0 / 0.5509 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3132, allocations: 0 / 0.5509 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.3132, allocations: 0 / 0.5509 GB, free: 8.289 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.0004321/0.3137, allocations: 305.1 kB / 0.5512 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.3137, allocations: 8.031 kB / 0.5512 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3139, allocations: 108.8 kB / 0.5513 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.062e-05/0.3139, allocations: 101.8 kB / 0.5514 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3139, allocations: 8.375 kB / 0.5514 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.314, allocations: 4.375 kB / 0.5514 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3141, allocations: 123.5 kB / 0.5516 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3141, allocations: 0 / 0.5516 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3141, allocations: 7.875 kB / 0.5516 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3141, allocations: 11.94 kB / 0.5516 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.3141, allocations: 11.98 kB / 0.5516 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.323e-05/0.3142, allocations: 73.02 kB / 0.5517 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.3143, allocations: 38.56 kB / 0.5517 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.3143, allocations: 8.859 kB / 0.5517 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004412/0.3187, allocations: 2.456 MB / 0.5541 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3187, allocations: 38.5 kB / 0.5541 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.3187, allocations: 0 / 0.5541 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.01811/0.3369, allocations: 6.415 MB / 0.5604 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3369, allocations: 55.41 kB / 0.5605 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.508e-05/0.3369, allocations: 102.7 kB / 0.5606 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.337, allocations: 33.7 kB / 0.5606 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.337, allocations: 84.12 kB / 0.5607 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.337, allocations: 39.64 kB / 0.5607 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3371, allocations: 29.7 kB / 0.5607 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.3372, allocations: 322.8 kB / 0.561 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.3372, allocations: 8 kB / 0.561 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.3372, allocations: 11.98 kB / 0.5611 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.3373, allocations: 35.09 kB / 0.5611 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3373, allocations: 128 / 0.5611 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001445/0.3374, allocations: 83.92 kB / 0.5612 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3374, allocations: 8 kB / 0.5612 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3375, allocations: 0 / 0.5612 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3375, allocations: 3.938 kB / 0.5612 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3376, allocations: 35.97 kB / 0.5612 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3376, allocations: 0.5469 kB / 0.5612 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.3376, allocations: 0 / 0.5612 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3376, allocations: 11.98 kB / 0.5612 GB, free: 13.58 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.51e-05/0.3377, allocations: 113.8 kB / 0.5613 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.3377, allocations: 15.89 kB / 0.5614 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.3379, allocations: 93.5 kB / 0.5614 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3379, allocations: 7.938 kB / 0.5614 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3379, allocations: 0.5 kB / 0.5614 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3379, allocations: 3.984 kB / 0.5615 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.338, allocations: 77.89 kB / 0.5615 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.338, allocations: 0.6875 kB / 0.5615 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.3381, allocations: 23.98 kB / 0.5616 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.3381, allocations: 15.98 kB / 0.5616 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3381, allocations: 4 kB / 0.5616 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3381, allocations: 3.938 kB / 0.5616 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3381, allocations: 4.5 kB / 0.5616 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3381, allocations: 0 / 0.5616 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3383, allocations: 125 kB / 0.5617 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3383, allocations: 3.938 kB / 0.5617 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.3384, allocations: 6.125 kB / 0.5617 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3384, allocations: 15.92 kB / 0.5617 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3384, allocations: 4 kB / 0.5617 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.456e-06/0.3384, allocations: 8.859 kB / 0.5617 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3384, allocations: 0 / 0.5617 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001589/0.34, allocations: 0.5621 MB / 0.5623 GB, free: 12.45 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.002074/0.3421, allocations: 383.8 kB / 0.5626 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.3422, allocations: 54.2 kB / 0.5627 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3422, allocations: 0 / 0.5627 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.3423, allocations: 37.11 kB / 0.5627 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3424, allocations: 33.38 kB / 0.5628 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3435, allocations: 210.1 kB / 0.563 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.3436, allocations: 59.22 kB / 0.563 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.3437, allocations: 28.59 kB / 0.5631 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.3437, allocations: 75.36 kB / 0.5631 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.3437, allocations: 0 / 0.5631 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.03456/0.3783, allocations: 25.91 MB / 0.5884 GB, free: 1.672 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.158051241189241]