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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 191.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 292.6 kB / 306.5 MB, free: 8.363 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 180.9 MB / 0.53 GB, free: 14.46 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 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 98.11 kB / 0.7308 GB, free: 39.02 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1995, allocations: 94.21 MB / 0.8228 GB, free: 1.848 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1971/0.3966, allocations: 162 MB / 0.9811 GB, free: 15.21 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.006118/0.4027, allocations: 4.601 MB / 0.9855 GB, free: 10.6 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.4031, allocations: 19.88 kB / 0.9856 GB, free: 10.58 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.4036, allocations: 131 kB / 0.9857 GB, free: 10.45 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.000898/0.4045, allocations: 350.4 kB / 0.986 GB, free: 10.11 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.4053, allocations: 290.6 kB / 0.9863 GB, free: 9.828 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.0007127/0.406, allocations: 0.5729 MB / 0.9869 GB, free: 9.25 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.4064, allocations: 161.4 kB / 0.987 GB, free: 9.09 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.4074, allocations: 470.3 kB / 0.9875 GB, free: 8.629 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.4077, allocations: 211.1 kB / 0.9877 GB, free: 8.422 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.4077, allocations: 16 kB / 0.9877 GB, free: 8.406 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.4079, allocations: 91.86 kB / 0.9878 GB, free: 8.316 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.4081, allocations: 91.72 kB / 0.9879 GB, free: 8.227 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4082, allocations: 123.4 kB / 0.988 GB, free: 8.105 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.4087, allocations: 298.8 kB / 0.9883 GB, free: 7.812 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4087, allocations: 4 kB / 0.9883 GB, free: 7.809 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.4087, allocations: 0 / 0.9883 GB, free: 7.809 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 1.14e-05/0.4087, allocations: 3.938 kB / 0.9883 GB, free: 7.805 MB / 0.7325 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.0008829/0.4096, allocations: 472.7 kB / 0.9887 GB, free: 7.312 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4096, allocations: 8.031 kB / 0.9887 GB, free: 7.305 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.4097, allocations: 43.75 kB / 0.9888 GB, free: 7.262 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.4101, allocations: 230.3 kB / 0.989 GB, free: 7.012 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4102, allocations: 12 kB / 0.989 GB, free: 7 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.4102, allocations: 16 kB / 0.989 GB, free: 6.984 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.4107, allocations: 265.9 kB / 0.9893 GB, free: 6.688 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4107, allocations: 3.938 kB / 0.9893 GB, free: 6.684 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4107, allocations: 11.94 kB / 0.9893 GB, free: 6.672 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.4107, allocations: 4 kB / 0.9893 GB, free: 6.668 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.4111, allocations: 151.8 kB / 0.9894 GB, free: 6.52 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.4125, allocations: 1.328 MB / 0.9907 GB, free: 5.109 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.4129, allocations: 175.7 kB / 0.9909 GB, free: 4.883 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4131, allocations: 97.05 kB / 0.991 GB, free: 4.77 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.4134, allocations: 43.94 kB / 0.991 GB, free: 4.727 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4134, allocations: 42.5 kB / 0.9911 GB, free: 4.676 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4134, allocations: 0 / 0.9911 GB, free: 4.676 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=10): time 0.0006457/0.4141, allocations: 205.9 kB / 0.9913 GB, free: 4.469 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.4142, allocations: 191.9 kB / 0.9914 GB, free: 4.238 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.4145, allocations: 284.2 kB / 0.9917 GB, free: 3.953 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4145, allocations: 33.64 kB / 0.9918 GB, free: 3.914 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4147, allocations: 147.9 kB / 0.9919 GB, free: 3.766 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.4147, allocations: 43.75 kB / 0.9919 GB, free: 3.723 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.4148, allocations: 33.7 kB / 0.992 GB, free: 3.684 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001599/0.4149, allocations: 334.8 kB / 0.9923 GB, free: 3.348 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4151, allocations: 47.97 kB / 0.9923 GB, free: 3.301 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.4153, allocations: 115.6 kB / 0.9924 GB, free: 3.16 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.4156, allocations: 158.7 kB / 0.9926 GB, free: 2.98 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4156, allocations: 0 / 0.9926 GB, free: 2.98 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003984/0.416, allocations: 189.3 kB / 0.9928 GB, free: 2.789 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.416, allocations: 11.94 kB / 0.9928 GB, free: 2.777 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.416, allocations: 0 / 0.9928 GB, free: 2.777 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.416, allocations: 4 kB / 0.9928 GB, free: 2.773 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4162, allocations: 31.98 kB / 0.9928 GB, free: 2.742 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.4162, allocations: 8.219 kB / 0.9928 GB, free: 2.734 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4163, allocations: 28.08 kB / 0.9929 GB, free: 2.707 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.4164, allocations: 12 kB / 0.9929 GB, free: 2.695 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.0001396/0.4165, allocations: 145.8 kB / 0.993 GB, free: 2.543 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4167, allocations: 35.75 kB / 0.993 GB, free: 2.508 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.417, allocations: 131 kB / 0.9932 GB, free: 2.363 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.417, allocations: 15.97 kB / 0.9932 GB, free: 2.348 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.417, allocations: 0 / 0.9932 GB, free: 2.348 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.417, allocations: 4 kB / 0.9932 GB, free: 2.344 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.4179, allocations: 0.7409 MB / 0.9939 GB, free: 1.535 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4179, allocations: 4.156 kB / 0.9939 GB, free: 1.531 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.418, allocations: 27.92 kB / 0.9939 GB, free: 1.504 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.418, allocations: 4 kB / 0.9939 GB, free: 1.5 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.418, allocations: 0 / 0.9939 GB, free: 1.5 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.418, allocations: 4 kB / 0.9939 GB, free: 1.496 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.418, allocations: 0 / 0.9939 GB, free: 1.496 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.4186, allocations: 343.5 kB / 0.9943 GB, free: 1.129 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.4187, allocations: 35.8 kB / 0.9943 GB, free: 1.094 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.4187, allocations: 0 / 0.9943 GB, free: 1.094 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4188, allocations: 11.98 kB / 0.9943 GB, free: 1.082 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.4189, allocations: 19.92 kB / 0.9943 GB, free: 1.062 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4189, allocations: 4 kB / 0.9943 GB, free: 1.059 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0002149/0.4191, allocations: 211.1 kB / 0.9945 GB, free: 0.8555 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4191, allocations: 0 / 0.9945 GB, free: 0.8555 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0003514/0.4195, allocations: 55.94 kB / 0.9946 GB, free: 0.8008 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.0003759/0.4199, allocations: 142.4 kB / 0.9947 GB, free: 0.6602 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.000386/0.4202, allocations: 123.8 kB / 0.9948 GB, free: 0.5391 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4202, allocations: 0 / 0.9948 GB, free: 0.5391 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.4204, allocations: 56.75 kB / 0.9949 GB, free: 496 kB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.4212, allocations: 126.9 kB / 0.995 GB, free: 372 kB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.4221, allocations: 0.4951 MB / 0.9955 GB, free: 15.82 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.4224, allocations: 0.7597 MB / 0.9962 GB, free: 15.04 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0001364/0.4226, allocations: 50.25 kB / 0.9963 GB, free: 14.99 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.4226, allocations: 27.42 kB / 0.9963 GB, free: 14.96 MB / 0.7481 GB
Notification: Performance of SimCode: time 4.41e-07/0.4226, allocations: 0 / 0.9963 GB, free: 14.96 MB / 0.7481 GB
Notification: Performance of Templates: time 0.009219/0.4319, allocations: 4.361 MB / 1.001 GB, free: 10.68 MB / 0.7481 GB
"
[Timeout remaining time 660]
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: 6.714290983974934]
Failed to read output from testmodel.py, exit status != 0:
0.43957019690424204 0.828799097 0.41688870600000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa5910bd7b0>