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.001349/0.001349, allocations: 78.66 kB / 19 MB, free: 2.871 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.001497/0.001497, allocations: 162.4 kB / 22.26 MB, free: 5.141 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.438/1.438, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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.002535/0.002535, allocations: 241.3 kB / 259.3 MB, free: 0.5859 MB / 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 1.065/1.065, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.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.00323/0.00323, allocations: 103.8 kB / 0.6466 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4219, allocations: 95.34 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002358/0.4242, allocations: 1.275 MB / 0.7409 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.585, allocations: 120.9 MB / 0.859 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.585, allocations: 0 / 0.859 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.5851, allocations: 0 / 0.859 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.5851, allocations: 7.875 kB / 0.859 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.5864, allocations: 470.2 kB / 0.8594 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.324e-05/0.5865, allocations: 35.91 kB / 0.8595 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.5865, allocations: 7.984 kB / 0.8595 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.5866, allocations: 31.91 kB / 0.8595 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.5867, allocations: 19.91 kB / 0.8595 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.5867, allocations: 4 kB / 0.8595 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.5882, allocations: 0.7919 MB / 0.8603 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.5882, allocations: 11.97 kB / 0.8603 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.5882, allocations: 15.94 kB / 0.8603 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.5888, allocations: 452.1 kB / 0.8608 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5888, allocations: 0 / 0.8608 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5888, allocations: 0 / 0.8608 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5888, allocations: 4 kB / 0.8608 GB, free: 2.754 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.0005089/0.5894, allocations: 298.1 kB / 0.861 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5894, allocations: 9.344 kB / 0.8611 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.5896, allocations: 12.92 kB / 0.8611 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5897, allocations: 106.5 kB / 0.8612 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5897, allocations: 4.375 kB / 0.8612 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5897, allocations: 16.08 kB / 0.8612 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.5899, allocations: 134.8 kB / 0.8613 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5899, allocations: 4 kB / 0.8613 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5899, allocations: 4 kB / 0.8613 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5899, allocations: 0 / 0.8613 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.59, allocations: 19.92 kB / 0.8613 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.5902, allocations: 117.2 kB / 0.8615 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.5903, allocations: 46.5 kB / 0.8615 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.5903, allocations: 16.86 kB / 0.8615 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.6025, allocations: 2.872 MB / 0.8643 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.6025, allocations: 38.5 kB / 0.8644 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.6025, allocations: 0 / 0.8644 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04617/0.6487, allocations: 14.93 MB / 0.8789 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.6488, allocations: 51.41 kB / 0.879 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.6488, allocations: 97.84 kB / 0.8791 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.6489, allocations: 29.7 kB / 0.8791 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.6489, allocations: 80.14 kB / 0.8792 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.649, allocations: 43.58 kB / 0.8792 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.649, allocations: 29.84 kB / 0.8793 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6492, allocations: 322.8 kB / 0.8796 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.6492, allocations: 27.98 kB / 0.8796 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.6493, allocations: 16 kB / 0.8796 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.6494, allocations: 64.84 kB / 0.8797 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6494, allocations: 3.938 kB / 0.8797 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002305/0.6496, allocations: 105.6 kB / 0.8798 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6497, allocations: 6.344 kB / 0.8798 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6497, allocations: 3.984 kB / 0.8798 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6497, allocations: 0 / 0.8798 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.6498, allocations: 24 kB / 0.8798 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6498, allocations: 11.94 kB / 0.8798 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.6498, allocations: 0 / 0.8798 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.6498, allocations: 7.984 kB / 0.8798 GB, free: 14.91 MB / 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 0.0001024/0.6499, allocations: 121.7 kB / 0.8799 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.65, allocations: 4 kB / 0.8799 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.6503, allocations: 121.5 kB / 0.8801 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.6503, allocations: 7.984 kB / 0.8801 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6503, allocations: 0 / 0.8801 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6503, allocations: 4 kB / 0.8801 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6504, allocations: 125.2 kB / 0.8802 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6504, allocations: 0 / 0.8802 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6506, allocations: 27.92 kB / 0.8802 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6506, allocations: 0 / 0.8802 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.6506, allocations: 8 kB / 0.8802 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6506, allocations: 0 / 0.8802 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6506, allocations: 0 / 0.8802 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.6509, allocations: 157.1 kB / 0.8804 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.651, allocations: 19.98 kB / 0.8804 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.651, allocations: 4 kB / 0.8804 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.6511, allocations: 15.98 kB / 0.8804 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.6511, allocations: 4 kB / 0.8804 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.6512, allocations: 7.984 kB / 0.8804 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.6512, allocations: 79.28 kB / 0.8805 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6512, allocations: 0 / 0.8805 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001728/0.6529, allocations: 0.5699 MB / 0.8811 GB, free: 13.59 MB / 0.7169 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.003006/0.6559, allocations: 354.8 kB / 0.8814 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.6561, allocations: 64.53 kB / 0.8815 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6561, allocations: 0 / 0.8815 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.6562, allocations: 35.92 kB / 0.8815 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.6564, allocations: 7.938 kB / 0.8815 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.657, allocations: 342.5 kB / 0.8818 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.6571, allocations: 75.33 kB / 0.8819 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.356e-05/0.6572, allocations: 16.67 kB / 0.8819 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.6572, allocations: 20.48 kB / 0.8819 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6572, allocations: 0 / 0.8819 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of Templates: time 0.03817/0.6954, allocations: 24.3 MB / 0.9057 GB, free: 4.344 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.719236828386784] Failed to read output from testmodel.py, exit status != 0: 0.7046223226934671 0.719644106 0.12748711100000001 Calling exit ...