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.001326/0.001326, allocations: 82.41 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001473/0.001473, allocations: 163.2 kB / 23.01 MB, free: 4.594 MB / 14.72 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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.00234/0.00234, allocations: 238 kB / 260 MB, free: 452 kB / 238.1 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.9043/0.9043, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002988/0.002988, allocations: 99.83 kB / 0.6473 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3915, allocations: 95.35 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002233/0.3937, allocations: 1.275 MB / 0.7417 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.5384, allocations: 120.9 MB / 0.8597 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.5384, allocations: 0 / 0.8597 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.5385, allocations: 4 kB / 0.8597 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.5385, allocations: 11.92 kB / 0.8598 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5399, allocations: 454.4 kB / 0.8602 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.5399, allocations: 39.86 kB / 0.8602 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.54, allocations: 7.984 kB / 0.8602 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.54, allocations: 23.92 kB / 0.8603 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.5401, allocations: 19.84 kB / 0.8603 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5401, allocations: 4 kB / 0.8603 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.5416, allocations: 0.7919 MB / 0.861 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.5416, allocations: 11.97 kB / 0.8611 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.5417, allocations: 19.94 kB / 0.8611 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.5423, allocations: 451.5 kB / 0.8615 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5423, allocations: 0 / 0.8615 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5423, allocations: 0 / 0.8615 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5423, allocations: 4 kB / 0.8615 GB, free: 6.508 MB / 0.6856 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.0004728/0.5427, allocations: 294.1 kB / 0.8618 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5428, allocations: 13.34 kB / 0.8618 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.5429, allocations: 12.92 kB / 0.8618 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.543, allocations: 106.5 kB / 0.8619 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5431, allocations: 4.375 kB / 0.8619 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.5431, allocations: 16.08 kB / 0.8619 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.5433, allocations: 134.8 kB / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5433, allocations: 0 / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5433, allocations: 0 / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5433, allocations: 0 / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.5434, allocations: 23.92 kB / 0.8621 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.5435, allocations: 109.3 kB / 0.8622 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5436, allocations: 50.55 kB / 0.8622 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.5437, allocations: 16.84 kB / 0.8623 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.5552, allocations: 2.876 MB / 0.8651 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.5553, allocations: 34.5 kB / 0.8651 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.5553, allocations: 4 kB / 0.8651 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.04401/0.5993, allocations: 14.92 MB / 0.8797 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.5994, allocations: 51.41 kB / 0.8797 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.5995, allocations: 97.86 kB / 0.8798 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5995, allocations: 29.83 kB / 0.8798 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.5996, allocations: 80.14 kB / 0.8799 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.5996, allocations: 51.58 kB / 0.88 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.5997, allocations: 29.7 kB / 0.88 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5998, allocations: 322.8 kB / 0.8803 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.5998, allocations: 19.98 kB / 0.8803 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.5999, allocations: 23.98 kB / 0.8804 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.6, allocations: 60.73 kB / 0.8804 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6, allocations: 3.938 kB / 0.8804 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002162/0.6002, allocations: 113.6 kB / 0.8805 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.6003, allocations: 4 kB / 0.8805 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6003, allocations: 4 kB / 0.8805 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6003, allocations: 4 kB / 0.8805 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.6004, allocations: 23.98 kB / 0.8806 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6004, allocations: 0 / 0.8806 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.6004, allocations: 4 kB / 0.8806 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.6004, allocations: 4 kB / 0.8806 GB, free: 2.68 MB / 0.7012 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.077e-05/0.6005, allocations: 121.7 kB / 0.8807 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.6006, allocations: 4 kB / 0.8807 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.6008, allocations: 129.5 kB / 0.8808 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6008, allocations: 4 kB / 0.8808 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6008, allocations: 0 / 0.8808 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6008, allocations: 3.984 kB / 0.8808 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.601, allocations: 117.2 kB / 0.8809 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.601, allocations: 4 kB / 0.8809 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.6011, allocations: 27.92 kB / 0.881 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6011, allocations: 4 kB / 0.881 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.6011, allocations: 0 / 0.881 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6011, allocations: 4 kB / 0.881 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6011, allocations: 0 / 0.881 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.6014, allocations: 161 kB / 0.8811 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.6014, allocations: 11.98 kB / 0.8811 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.6014, allocations: 7.938 kB / 0.8811 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.6016, allocations: 15.98 kB / 0.8812 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.6016, allocations: 11.98 kB / 0.8812 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.6016, allocations: 4 kB / 0.8812 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.6017, allocations: 79.28 kB / 0.8812 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.6017, allocations: 0 / 0.8812 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001605/0.6033, allocations: 0.5738 MB / 0.8818 GB, free: 1.34 MB / 0.7012 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.00255/0.6058, allocations: 350.8 kB / 0.8821 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.606, allocations: 51.98 kB / 0.8822 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.606, allocations: 8 kB / 0.8822 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.6061, allocations: 27.92 kB / 0.8822 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.6062, allocations: 23.8 kB / 0.8822 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.6068, allocations: 346.5 kB / 0.8826 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.559e-05/0.6069, allocations: 67.84 kB / 0.8826 GB, free: 436 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.607, allocations: 25.03 kB / 0.8827 GB, free: 408 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.607, allocations: 16.5 kB / 0.8827 GB, free: 392 kB / 0.7012 GB Notification: Performance of SimCode: time 4e-07/0.607, allocations: 0 / 0.8827 GB, free: 392 kB / 0.7012 GB Notification: Performance of Templates: time 0.03613/0.6431, allocations: 24.28 MB / 0.9064 GB, free: 8.113 MB / 0.7325 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.15001546998974] Failed to read output from testmodel.py, exit status != 0: 0.6513171519618481 0.6657735640000001 0.120438732 Calling exit ...