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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 106.2 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 195 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002548/0.002548, allocations: 290.8 kB / 306.5 MB, free: 8.426 MB / 238.1 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 1.174/1.174, allocations: 180.9 MB / 0.53 GB, free: 14.44 MB / 382.1 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.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(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 0.002831/0.002831, allocations: 103.7 kB / 0.7308 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1507, allocations: 94.19 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002492/0.1532, allocations: 1.273 MB / 0.824 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.3175, allocations: 138.1 MB / 0.9589 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.3176, allocations: 0 / 0.9589 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.3176, allocations: 0 / 0.9589 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.3176, allocations: 7.922 kB / 0.9589 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3189, allocations: 470.2 kB / 0.9594 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.319, allocations: 39.91 kB / 0.9594 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.319, allocations: 7.984 kB / 0.9594 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.3191, allocations: 19.98 kB / 0.9594 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.3191, allocations: 23.91 kB / 0.9595 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3192, allocations: 0 / 0.9595 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.3207, allocations: 0.8309 MB / 0.9603 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3207, allocations: 11.98 kB / 0.9603 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.3207, allocations: 11.94 kB / 0.9603 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.3213, allocations: 451 kB / 0.9607 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3213, allocations: 0 / 0.9607 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3214, allocations: 0 / 0.9607 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3214, allocations: 7.938 kB / 0.9607 GB, free: 4.031 MB / 0.7012 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.0004995/0.3219, allocations: 298.1 kB / 0.961 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3219, allocations: 15.97 kB / 0.961 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3221, allocations: 12.92 kB / 0.9611 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3222, allocations: 106.5 kB / 0.9612 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3222, allocations: 4.375 kB / 0.9612 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3222, allocations: 12.12 kB / 0.9612 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3224, allocations: 49.67 kB / 0.9612 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3224, allocations: 4 kB / 0.9612 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3224, allocations: 4 kB / 0.9612 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3224, allocations: 0 / 0.9612 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.839e-05/0.3225, allocations: 23.92 kB / 0.9612 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.3227, allocations: 136.7 kB / 0.9614 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3228, allocations: 50.64 kB / 0.9614 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.3228, allocations: 16.95 kB / 0.9614 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.3348, allocations: 2.868 MB / 0.9642 GB, free: 336 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.3349, allocations: 30.56 kB / 0.9643 GB, free: 296 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.3349, allocations: 0 / 0.9643 GB, free: 296 kB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04505/0.3799, allocations: 14.93 MB / 0.9789 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.38, allocations: 55.41 kB / 0.9789 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.38, allocations: 89.86 kB / 0.979 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3801, allocations: 29.7 kB / 0.979 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3801, allocations: 84.14 kB / 0.9791 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.3801, allocations: 39.64 kB / 0.9791 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.3802, allocations: 33.7 kB / 0.9792 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3803, allocations: 322.9 kB / 0.9795 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.3804, allocations: 19.98 kB / 0.9795 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.3804, allocations: 31.98 kB / 0.9795 GB, free: 492 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3806, allocations: 54.86 kB / 0.9796 GB, free: 436 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3806, allocations: 0 / 0.9796 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002247/0.3808, allocations: 105.6 kB / 0.9797 GB, free: 324 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3808, allocations: 8 kB / 0.9797 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3808, allocations: 0 / 0.9797 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3808, allocations: 0 / 0.9797 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.381, allocations: 23.98 kB / 0.9797 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.381, allocations: 4 kB / 0.9797 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.381, allocations: 4 kB / 0.9797 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.381, allocations: 4 kB / 0.9797 GB, free: 280 kB / 0.7169 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 9.844e-05/0.3811, allocations: 122.4 kB / 0.9798 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.3811, allocations: 7.953 kB / 0.9798 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3814, allocations: 125.5 kB / 0.98 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3814, allocations: 4 kB / 0.98 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3814, allocations: 112 / 0.98 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3814, allocations: 112 / 0.98 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.3816, allocations: 156.6 kB / 0.9801 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3816, allocations: 4 kB / 0.9801 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3817, allocations: 23.98 kB / 0.9801 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3817, allocations: 0 / 0.9801 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3817, allocations: 11.94 kB / 0.9802 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3817, allocations: 0 / 0.9802 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3817, allocations: 3.984 kB / 0.9802 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.382, allocations: 156.9 kB / 0.9803 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3821, allocations: 8.125 kB / 0.9803 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3821, allocations: 7.984 kB / 0.9803 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3823, allocations: 11.98 kB / 0.9803 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.3823, allocations: 7.984 kB / 0.9803 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3823, allocations: 12 kB / 0.9804 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.3823, allocations: 75.28 kB / 0.9804 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3823, allocations: 4 kB / 0.9804 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001602/0.3839, allocations: 0.566 MB / 0.981 GB, free: 14.89 MB / 0.7325 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.002914/0.3869, allocations: 354.8 kB / 0.9813 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3871, allocations: 59.91 kB / 0.9814 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3871, allocations: 0 / 0.9814 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.3871, allocations: 35.92 kB / 0.9814 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.3873, allocations: 15.94 kB / 0.9814 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.3881, allocations: 350.1 kB / 0.9818 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3884, allocations: 0.6851 MB / 0.9824 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.3885, allocations: 32.58 kB / 0.9825 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.3886, allocations: 15.44 kB / 0.9825 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.3886, allocations: 0 / 0.9825 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.03787/0.4264, allocations: 24.34 MB / 1.006 GB, free: 4.953 MB / 0.7481 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.763327055610716] Failed to read output from testmodel.py, exit status != 0: 0.43391092494130135 0.746426258 0.42226703200000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff826fad7b0>