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.001259/0.001259, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001454/0.001454, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002466/0.002466, allocations: 279.6 kB / 313.5 MB, free: 2.883 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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.002854/0.002854, allocations: 99.94 kB / 0.7408 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.183, allocations: 95.38 MB / 0.834 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6356/0.8186, allocations: 164.9 MB / 0.995 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.8231, allocations: 4.613 MB / 0.9995 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.8236, allocations: 15.59 kB / 0.9995 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.824, allocations: 128.3 kB / 0.9996 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008196/0.8248, allocations: 350.7 kB / 1 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.8256, allocations: 293.5 kB / 1 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.8262, allocations: 0.5753 MB / 1.001 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.8264, allocations: 159.9 kB / 1.001 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009562/0.8274, allocations: 480.9 kB / 1.001 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.8277, allocations: 205.2 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.8278, allocations: 16.59 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.828, allocations: 88.86 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.8281, allocations: 87.3 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.8282, allocations: 120.7 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.8287, allocations: 301.3 kB / 1.002 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8287, allocations: 0.625 kB / 1.002 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8287, allocations: 4.781 kB / 1.002 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.8287, allocations: 3.688 kB / 1.002 GB, free: 3.676 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.001014/0.8297, allocations: 477.2 kB / 1.003 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8297, allocations: 11.22 kB / 1.003 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.8298, allocations: 30.94 kB / 1.003 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.8302, allocations: 227.7 kB / 1.003 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.8302, allocations: 15 kB / 1.003 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.8303, allocations: 19.75 kB / 1.003 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.8307, allocations: 262 kB / 1.003 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8307, allocations: 1.781 kB / 1.003 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.8307, allocations: 9.812 kB / 1.003 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.8307, allocations: 9.938 kB / 1.003 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.8311, allocations: 148.7 kB / 1.003 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.8325, allocations: 1.33 MB / 1.005 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.8327, allocations: 178.4 kB / 1.005 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.8329, allocations: 90.62 kB / 1.005 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.8332, allocations: 44.8 kB / 1.005 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.8332, allocations: 39.2 kB / 1.005 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.8332, allocations: 1.094 kB / 1.005 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006052/0.8338, allocations: 216.5 kB / 1.005 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.834, allocations: 184.5 kB / 1.005 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.8343, allocations: 296 kB / 1.006 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.8343, allocations: 28.8 kB / 1.006 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.8344, allocations: 146.7 kB / 1.006 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.8344, allocations: 38.05 kB / 1.006 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.8345, allocations: 36.48 kB / 1.006 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8347, allocations: 341.1 kB / 1.006 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.8348, allocations: 43.27 kB / 1.006 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.835, allocations: 115.8 kB / 1.006 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.8352, allocations: 158.7 kB / 1.007 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8352, allocations: 0.5312 kB / 1.007 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003748/0.8356, allocations: 197.7 kB / 1.007 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8356, allocations: 6.812 kB / 1.007 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8356, allocations: 1.656 kB / 1.007 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8357, allocations: 8.188 kB / 1.007 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.8358, allocations: 29.12 kB / 1.007 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.8358, allocations: 7.094 kB / 1.007 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.836, allocations: 29.52 kB / 1.007 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.836, allocations: 7.656 kB / 1.007 GB, free: 16.73 MB / 0.7325 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.0001409/0.8361, allocations: 146.1 kB / 1.007 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.8363, allocations: 35 kB / 1.007 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.8366, allocations: 127.5 kB / 1.007 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.8366, allocations: 2.562 kB / 1.007 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8366, allocations: 3.531 kB / 1.007 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8366, allocations: 1.656 kB / 1.007 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/0.8375, allocations: 0.745 MB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8375, allocations: 1.344 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.8377, allocations: 28.38 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.8377, allocations: 3.094 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.8377, allocations: 5.531 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8377, allocations: 3.188 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8377, allocations: 1.719 kB / 1.008 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.8382, allocations: 352 kB / 1.008 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.8383, allocations: 31.23 kB / 1.008 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.8383, allocations: 6.688 kB / 1.008 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.8385, allocations: 8.656 kB / 1.008 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.8385, allocations: 13.05 kB / 1.008 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.8385, allocations: 7.906 kB / 1.008 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002413/0.8388, allocations: 213.2 kB / 1.008 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8388, allocations: 0 / 1.008 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000393/0.8392, allocations: 56.08 kB / 1.009 GB, free: 15.66 MB / 0.7325 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.0002173/0.8394, allocations: 125.7 kB / 1.009 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.8397, allocations: 119.8 kB / 1.009 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8397, allocations: 0.5312 kB / 1.009 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.8399, allocations: 60.69 kB / 1.009 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.8406, allocations: 128.3 kB / 1.009 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.8416, allocations: 0.5216 MB / 1.009 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8419, allocations: 0.7585 MB / 1.01 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.842, allocations: 23.09 kB / 1.01 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.842, allocations: 0.5 kB / 1.01 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.006229/0.8482, allocations: 3.817 MB / 1.014 GB, free: 14.4 MB / 0.7325 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.717016673879698] Failed to read output from testmodel.py, exit status != 0: 0.8548596238251776 0.8645500570000001 0.033653853000000004 Calling exit ...