Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.001305/0.001305, 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.001495/0.001495, allocations: 186.6 kB / 22.22 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.02 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.002567/0.002567, allocations: 300.4 kB / 306.6 MB, free: 8.324 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.219/1.219, 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb")
translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 98.16 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2013, allocations: 94.2 MB / 0.8228 GB, free: 1.801 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2306/0.4319, allocations: 182.7 MB / 1.001 GB, free: 10.41 MB / 0.7481 GB
Notification: Performance of NFInst.instExpressions: time 0.007217/0.4392, allocations: 4.488 MB / 1.006 GB, free: 5.918 MB / 0.7481 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007451/0.4399, allocations: 27.75 kB / 1.006 GB, free: 5.891 MB / 0.7481 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.4407, allocations: 250.1 kB / 1.006 GB, free: 5.645 MB / 0.7481 GB
Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4428, allocations: 0.797 MB / 1.007 GB, free: 4.844 MB / 0.7481 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.447, allocations: 1.603 MB / 1.008 GB, free: 3.238 MB / 0.7481 GB
Notification: Performance of NFFlatten.flatten: time 0.001808/0.4488, allocations: 1.278 MB / 1.009 GB, free: 1.957 MB / 0.7481 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.4494, allocations: 365.7 kB / 1.01 GB, free: 1.594 MB / 0.7481 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.4505, allocations: 0.5916 MB / 1.01 GB, free: 1 MB / 0.7481 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.451, allocations: 434.2 kB / 1.011 GB, free: 0.5742 MB / 0.7481 GB
Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.4511, allocations: 48 kB / 1.011 GB, free: 0.5273 MB / 0.7481 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.5157/0.9668, allocations: 1.678 MB / 1.013 GB, free: 6.438 MB / 0.7481 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.9672, allocations: 191.2 kB / 1.013 GB, free: 6.438 MB / 0.7481 GB
Notification: Performance of NFVerifyModel.verify: time 0.00049/0.9677, allocations: 305.7 kB / 1.013 GB, free: 6.438 MB / 0.7481 GB
Notification: Performance of NFConvertDAE.convert: time 0.002234/0.9699, allocations: 1.311 MB / 1.014 GB, free: 6.375 MB / 0.7481 GB
Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.9699, allocations: 0 / 1.014 GB, free: 6.375 MB / 0.7481 GB
Notification: Performance of FrontEnd: time 1.413e-06/0.9699, allocations: 0 / 1.014 GB, free: 6.375 MB / 0.7481 GB
Notification: Performance of Transformations before backend: time 1.037e-05/0.9699, allocations: 1.203 kB / 1.014 GB, free: 6.375 MB / 0.7481 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 100
 * Number of variables: 100
Notification: Performance of Generate backend data structure: time 0.001635/0.9715, allocations: 0.962 MB / 1.015 GB, free: 5.785 MB / 0.7481 GB
Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.9716, allocations: 12.44 kB / 1.015 GB, free: 5.785 MB / 0.7481 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.9736, allocations: 284.1 kB / 1.016 GB, free: 5.754 MB / 0.7481 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.9744, allocations: 407.7 kB / 1.016 GB, free: 5.562 MB / 0.7481 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.9744, allocations: 35.33 kB / 1.016 GB, free: 5.562 MB / 0.7481 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.9745, allocations: 42.8 kB / 1.016 GB, free: 5.562 MB / 0.7481 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.9755, allocations: 0.5499 MB / 1.017 GB, free: 5.453 MB / 0.7481 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.9755, allocations: 7.828 kB / 1.017 GB, free: 5.453 MB / 0.7481 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.9756, allocations: 14.58 kB / 1.017 GB, free: 5.453 MB / 0.7481 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.9756, allocations: 11.53 kB / 1.017 GB, free: 5.453 MB / 0.7481 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.9767, allocations: 456 kB / 1.017 GB, free: 5.453 MB / 0.7481 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.9796, allocations: 2.08 MB / 1.019 GB, free: 20.24 MB / 0.7637 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.9806, allocations: 391.1 kB / 1.019 GB, free: 20.21 MB / 0.7637 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.9811, allocations: 215.5 kB / 1.02 GB, free: 20.2 MB / 0.7637 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.9817, allocations: 97 kB / 1.02 GB, free: 20.2 MB / 0.7637 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/0.9824, allocations: 292.1 kB / 1.02 GB, free: 20.15 MB / 0.7637 GB
Notification: Performance of pre-optimization done (n=37): time 1.893e-06/0.9824, allocations: 0.8438 kB / 1.02 GB, free: 20.15 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=37): time 0.001894/0.9842, allocations: 0.6874 MB / 1.021 GB, free: 20.08 MB / 0.7637 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.9843, allocations: 61.61 kB / 1.021 GB, free: 20.02 MB / 0.7637 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.9849, allocations: 500 kB / 1.021 GB, free: 19.89 MB / 0.7637 GB
Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.9849, allocations: 34.08 kB / 1.021 GB, free: 19.86 MB / 0.7637 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.9851, allocations: 269.2 kB / 1.021 GB, free: 19.73 MB / 0.7637 GB
Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.9852, allocations: 130.2 kB / 1.022 GB, free: 19.65 MB / 0.7637 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.9853, allocations: 89.45 kB / 1.022 GB, free: 19.63 MB / 0.7637 GB
Notification: Performance of setup shared object (initialization): time 0.0001784/0.9855, allocations: 365.6 kB / 1.022 GB, free: 19.32 MB / 0.7637 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.986, allocations: 196.6 kB / 1.022 GB, free: 19.32 MB / 0.7637 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.9867, allocations: 317.7 kB / 1.022 GB, free: 19.22 MB / 0.7637 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.9877, allocations: 0.5474 MB / 1.023 GB, free: 19.04 MB / 0.7637 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9877, allocations: 1.719 kB / 1.023 GB, free: 19.04 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=55) (initialization): time 0.001422/0.9892, allocations: 0.6492 MB / 1.024 GB, free: 18.91 MB / 0.7637 GB
Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.9892, allocations: 62.41 kB / 1.024 GB, free: 18.85 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9892, allocations: 3 kB / 1.024 GB, free: 18.85 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.9893, allocations: 5.641 kB / 1.024 GB, free: 18.85 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.9898, allocations: 96.86 kB / 1.024 GB, free: 18.85 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.9898, allocations: 10.53 kB / 1.024 GB, free: 18.85 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.9904, allocations: 82.05 kB / 1.024 GB, free: 18.82 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.9904, allocations: 21.62 kB / 1.024 GB, free: 18.82 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (53):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0002854/0.9907, allocations: 194.4 kB / 1.024 GB, free: 18.7 MB / 0.7637 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.9908, allocations: 57.66 kB / 1.024 GB, free: 18.67 MB / 0.7637 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.9921, allocations: 0.5441 MB / 1.025 GB, free: 18.62 MB / 0.7637 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9921, allocations: 7.25 kB / 1.025 GB, free: 18.62 MB / 0.7637 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.9921, allocations: 5.688 kB / 1.025 GB, free: 18.62 MB / 0.7637 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9921, allocations: 2.062 kB / 1.025 GB, free: 18.62 MB / 0.7637 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.9946, allocations: 1.318 MB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.9946, allocations: 4.438 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.995, allocations: 78.69 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.9951, allocations: 5.75 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.9951, allocations: 11.83 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.9951, allocations: 6.125 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9951, allocations: 8.125 kB / 1.026 GB, free: 18.22 MB / 0.7637 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.997, allocations: 0.9362 MB / 1.027 GB, free: 17.94 MB / 0.7637 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.9973, allocations: 104.7 kB / 1.027 GB, free: 17.9 MB / 0.7637 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.9973, allocations: 10.81 kB / 1.027 GB, free: 17.9 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.9978, allocations: 37.66 kB / 1.027 GB, free: 17.9 MB / 0.7637 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.9979, allocations: 53 kB / 1.027 GB, free: 17.89 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.998, allocations: 15.83 kB / 1.027 GB, free: 17.89 MB / 0.7637 GB
Notification: Performance of sorting global known variables: time 0.0005515/0.9985, allocations: 343.1 kB / 1.028 GB, free: 17.81 MB / 0.7637 GB
Notification: Performance of sort global known variables: time 9e-08/0.9985, allocations: 1.156 kB / 1.028 GB, free: 17.81 MB / 0.7637 GB
Notification: Performance of remove unused functions: time 0.0007393/0.9993, allocations: 153.6 kB / 1.028 GB, free: 17.8 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 15
 * Number of states: 2 (temDyn.T,temDynLoss.T)
 * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count)
 * Number of discrete states: 2 (m_flow2.count,m_flow1.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (37):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.0005195/0.9998, allocations: 196.1 kB / 1.028 GB, free: 17.71 MB / 0.7637 GB
Notification: Performance of simCode: created initialization part: time 0.001486/1.001, allocations: 0.5657 MB / 1.028 GB, free: 17.58 MB / 0.7637 GB
Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.001, allocations: 4.469 kB / 1.028 GB, free: 17.58 MB / 0.7637 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007393/1.002, allocations: 279.4 kB / 1.029 GB, free: 17.58 MB / 0.7637 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.004, allocations: 287.2 kB / 1.029 GB, free: 17.56 MB / 0.7637 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/1.006, allocations: 1.057 MB / 1.03 GB, free: 17.06 MB / 0.7637 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/1.006, allocations: 0.8652 MB / 1.031 GB, free: 16.36 MB / 0.7637 GB
Notification: Performance of simCode: alias equations: time 0.0004935/1.007, allocations: 135.8 kB / 1.031 GB, free: 16.35 MB / 0.7637 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.007, allocations: 47.03 kB / 1.031 GB, free: 16.34 MB / 0.7637 GB
Notification: Performance of SimCode: time 1.282e-06/1.007, allocations: 0 / 1.031 GB, free: 16.34 MB / 0.7637 GB
Notification: Performance of Templates: time 0.01859/1.026, allocations: 11.16 MB / 1.042 GB, free: 15.86 MB / 0.7637 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.233407346531749]
Failed to read output from testmodel.py, exit status != 0:
1.0326658161357045 1.04384554 0.071349537
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feb8b4057b0>