Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.001504/0.001504, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001498/0.001498, allocations: 209.9 kB / 22.24 MB, free: 4.859 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.002742/0.002742, allocations: 290.5 kB / 312.7 MB, free: 2.59 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.309/1.309, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 178] 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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") [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.003042/0.003042, allocations: 97.77 kB / 0.74 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1976, allocations: 95.38 MB / 0.8331 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1985/0.3961, allocations: 142.2 MB / 0.972 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005912/0.402, allocations: 4.191 MB / 0.9761 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.4024, allocations: 15.88 kB / 0.9761 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.4029, allocations: 127.1 kB / 0.9762 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009529/0.4039, allocations: 338.4 kB / 0.9766 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.4048, allocations: 289.2 kB / 0.9768 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.4055, allocations: 0.5652 MB / 0.9774 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.4058, allocations: 167.5 kB / 0.9775 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4068, allocations: 474.3 kB / 0.978 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.4072, allocations: 187.2 kB / 0.9782 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.4072, allocations: 16 kB / 0.9782 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.4074, allocations: 79.92 kB / 0.9783 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.4075, allocations: 95.72 kB / 0.9784 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4076, allocations: 99.53 kB / 0.9785 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.4081, allocations: 306.7 kB / 0.9787 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4081, allocations: 4 kB / 0.9787 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.647e-06/0.4081, allocations: 4 kB / 0.9788 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4081, allocations: 0 / 0.9788 GB, free: 2.141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008498/0.4089, allocations: 468.8 kB / 0.9792 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.409, allocations: 8.75 kB / 0.9792 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.409, allocations: 31.75 kB / 0.9792 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.4095, allocations: 229.6 kB / 0.9795 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4095, allocations: 12 kB / 0.9795 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.4095, allocations: 20 kB / 0.9795 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.41, allocations: 261.9 kB / 0.9797 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.41, allocations: 4 kB / 0.9797 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.41, allocations: 11.94 kB / 0.9798 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4101, allocations: 4 kB / 0.9798 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.4104, allocations: 147.8 kB / 0.9799 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4679/0.8783, allocations: 1.231 MB / 0.9811 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.8787, allocations: 178.3 kB / 0.9813 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.8789, allocations: 94.19 kB / 0.9814 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.8792, allocations: 42.41 kB / 0.9814 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.8792, allocations: 42.38 kB / 0.9814 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/0.8792, allocations: 0 / 0.9814 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006815/0.8799, allocations: 208.1 kB / 0.9816 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.88, allocations: 185.4 kB / 0.9818 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.8802, allocations: 201.2 kB / 0.982 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.8802, allocations: 30.11 kB / 0.982 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.8803, allocations: 163.6 kB / 0.9822 GB, free: 151 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.8803, allocations: 39.41 kB / 0.9822 GB, free: 151 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.8804, allocations: 36.16 kB / 0.9823 GB, free: 151 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.8805, allocations: 331.2 kB / 0.9826 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.8806, allocations: 49.16 kB / 0.9826 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.8808, allocations: 218.4 kB / 0.9828 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.8811, allocations: 160 kB / 0.983 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8811, allocations: 1.688 kB / 0.983 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003768/0.8815, allocations: 180.2 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8815, allocations: 9.062 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8816, allocations: 4.219 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8816, allocations: 2.75 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.8817, allocations: 35.72 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.8817, allocations: 3.094 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.8819, allocations: 23.92 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.8819, allocations: 11.81 kB / 0.9832 GB, free: 150.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001267/0.882, allocations: 145.9 kB / 0.9834 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.8822, allocations: 29.48 kB / 0.9834 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.8825, allocations: 122.4 kB / 0.9835 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8825, allocations: 3.156 kB / 0.9835 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8825, allocations: 1.844 kB / 0.9835 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.8825, allocations: 2.531 kB / 0.9835 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.8833, allocations: 0.7035 MB / 0.9842 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8833, allocations: 1.25 kB / 0.9842 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.8834, allocations: 28.08 kB / 0.9843 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8834, allocations: 5.344 kB / 0.9843 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.8834, allocations: 6.062 kB / 0.9843 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8834, allocations: 2.516 kB / 0.9843 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8834, allocations: 5 kB / 0.9843 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.884, allocations: 332 kB / 0.9846 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.884, allocations: 29.61 kB / 0.9846 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.884, allocations: 8.234 kB / 0.9846 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.8842, allocations: 8.234 kB / 0.9846 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.8842, allocations: 15.62 kB / 0.9846 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.8842, allocations: 4.031 kB / 0.9847 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001323/0.8844, allocations: 147.8 kB / 0.9848 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.8844, allocations: 0 / 0.9848 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003904/0.8848, allocations: 63.72 kB / 0.9849 GB, free: 149.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0002252/0.885, allocations: 125.7 kB / 0.985 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.8854, allocations: 118.8 kB / 0.9851 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8854, allocations: 1.031 kB / 0.9851 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8855, allocations: 60.11 kB / 0.9851 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.8861, allocations: 64.16 kB / 0.9852 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.8869, allocations: 485 kB / 0.9857 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.8871, allocations: 148.9 kB / 0.9858 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000119/0.8872, allocations: 48.39 kB / 0.9859 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.8873, allocations: 18.34 kB / 0.9859 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.8873, allocations: 0 / 0.9859 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.008738/0.896, allocations: 3.043 MB / 0.9888 GB, free: 148.6 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.165229272097349] Failed to read output from testmodel.py, exit status != 0: 0.9032798577100039 0.917858795 0.5068267759999999 Calling exit ...