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.001643/0.001643, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001514/0.001514, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002554/0.002554, allocations: 297.7 kB / 313.5 MB, free: 2.625 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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 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.002868/0.002868, allocations: 104.8 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1807, allocations: 95.39 MB / 0.8339 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1845/0.3652, allocations: 142.2 MB / 0.9727 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005664/0.3709, allocations: 4.188 MB / 0.9768 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.3712, allocations: 15.88 kB / 0.9768 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.3717, allocations: 131.1 kB / 0.977 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009067/0.3726, allocations: 334.5 kB / 0.9773 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.3734, allocations: 290.6 kB / 0.9776 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.374, allocations: 0.5651 MB / 0.9781 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.3743, allocations: 165.3 kB / 0.9783 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009847/0.3753, allocations: 470.3 kB / 0.9787 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3756, allocations: 203.1 kB / 0.9789 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.3757, allocations: 16 kB / 0.9789 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.3759, allocations: 75.94 kB / 0.979 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.376, allocations: 95.7 kB / 0.9791 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3761, allocations: 99.59 kB / 0.9792 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.3765, allocations: 306.7 kB / 0.9795 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3765, allocations: 0 / 0.9795 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3765, allocations: 4 kB / 0.9795 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3765, allocations: 0 / 0.9795 GB, free: 2.129 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.0008367/0.3774, allocations: 468.9 kB / 0.9799 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3774, allocations: 9.344 kB / 0.9799 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.3775, allocations: 31.75 kB / 0.98 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.3779, allocations: 233.6 kB / 0.9802 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3779, allocations: 12 kB / 0.9802 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.3779, allocations: 20 kB / 0.9802 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.3784, allocations: 257.9 kB / 0.9805 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3784, allocations: 4 kB / 0.9805 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3784, allocations: 19.88 kB / 0.9805 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3784, allocations: 7.984 kB / 0.9805 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3788, allocations: 143.8 kB / 0.9806 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.404/0.7828, allocations: 1.237 MB / 0.9818 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.7831, allocations: 175.9 kB / 0.982 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.7833, allocations: 89.53 kB / 0.9821 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.7836, allocations: 39.86 kB / 0.9821 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.7836, allocations: 42.8 kB / 0.9822 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.7836, allocations: 4.406 kB / 0.9822 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006454/0.7843, allocations: 201.2 kB / 0.9824 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.7843, allocations: 187.3 kB / 0.9826 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.7845, allocations: 205.1 kB / 0.9827 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.7846, allocations: 26.73 kB / 0.9828 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.7846, allocations: 163 kB / 0.9829 GB, free: 151 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.7847, allocations: 35.17 kB / 0.983 GB, free: 151 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.7847, allocations: 35.78 kB / 0.983 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.7848, allocations: 328.6 kB / 0.9833 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.7849, allocations: 47.31 kB / 0.9834 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7851, allocations: 220.9 kB / 0.9836 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.7854, allocations: 155.2 kB / 0.9837 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7854, allocations: 0 / 0.9837 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.7858, allocations: 188.3 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7858, allocations: 8.438 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7858, allocations: 2.938 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.7858, allocations: 2.125 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.786, allocations: 33.23 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.786, allocations: 3.094 kB / 0.9839 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.7861, allocations: 26.94 kB / 0.984 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.7861, allocations: 7.375 kB / 0.984 GB, free: 150.3 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.0001058/0.7862, allocations: 146 kB / 0.9841 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.7864, allocations: 25.59 kB / 0.9841 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.7867, allocations: 130.5 kB / 0.9843 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7867, allocations: 3.016 kB / 0.9843 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7867, allocations: 5.75 kB / 0.9843 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7867, allocations: 2.719 kB / 0.9843 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.7873, allocations: 0.7028 MB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7873, allocations: 3.672 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.7875, allocations: 22.23 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7875, allocations: 2.281 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.7875, allocations: 6.875 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.7875, allocations: 9.312 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7875, allocations: 5.75 kB / 0.985 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.788, allocations: 327.3 kB / 0.9853 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.788, allocations: 31.17 kB / 0.9854 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.788, allocations: 6.062 kB / 0.9854 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7881, allocations: 7.703 kB / 0.9854 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.7882, allocations: 15.56 kB / 0.9854 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.7882, allocations: 7.719 kB / 0.9854 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001106/0.7883, allocations: 148.9 kB / 0.9855 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7883, allocations: 0 / 0.9855 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003445/0.7887, allocations: 63.39 kB / 0.9856 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.0001978/0.7888, allocations: 126.8 kB / 0.9857 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.7892, allocations: 122.1 kB / 0.9858 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7892, allocations: 0 / 0.9858 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.7894, allocations: 57.03 kB / 0.9859 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.0004903/0.7898, allocations: 70.66 kB / 0.9859 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.7906, allocations: 0.5063 MB / 0.9864 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.7908, allocations: 150.5 kB / 0.9866 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.7908, allocations: 23 kB / 0.9866 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.7908, allocations: 0 / 0.9866 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.005664/0.7965, allocations: 3.097 MB / 0.9896 GB, free: 148.5 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: 9.55572674702853] Failed to read output from testmodel.py, exit status != 0: 0.8033726359717548 0.816592977 0.437344566 Calling exit ...