Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001259/0.001259, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001354/0.001354, allocations: 192 kB / 22.23 MB, free: 5.16 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.39/1.39, allocations: 225.6 MB / 251 MB, free: 13.03 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.002455/0.002455, allocations: 303.3 kB / 306.6 MB, free: 8.328 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.184/1.184, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly")
translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 105.5 kB / 0.7309 GB, free: 38.69 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1619, allocations: 94.19 MB / 0.8229 GB, free: 1.867 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.634/0.7959, allocations: 194.9 MB / 1.013 GB, free: 4.016 MB / 0.7481 GB
Notification: Performance of NFInst.instExpressions: time 0.007746/0.8036, allocations: 5.186 MB / 1.018 GB, free: 3.973 MB / 0.7481 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.8049, allocations: 69.62 kB / 1.018 GB, free: 3.973 MB / 0.7481 GB
Notification: Performance of NFTyping.typeComponents: time 0.001746/0.8066, allocations: 0.8313 MB / 1.019 GB, free: 3.957 MB / 0.7481 GB
Notification: Performance of NFTyping.typeBindings: time 0.006144/0.8128, allocations: 2.724 MB / 1.022 GB, free: 3.863 MB / 0.7481 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.8164, allocations: 1.164 MB / 1.023 GB, free: 3.832 MB / 0.7481 GB
Notification: Performance of NFFlatten.flatten: time 0.004843/0.8212, allocations: 2.639 MB / 1.025 GB, free: 3.828 MB / 0.7481 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.8225, allocations: 0.7119 MB / 1.026 GB, free: 3.789 MB / 0.7481 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.8251, allocations: 1.138 MB / 1.027 GB, free: 3.789 MB / 0.7481 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.8269, allocations: 1.028 MB / 1.028 GB, free: 3.789 MB / 0.7481 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.8271, allocations: 79.84 kB / 1.028 GB, free: 3.789 MB / 0.7481 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.8312, allocations: 1.945 MB / 1.03 GB, free: 3.77 MB / 0.7481 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.8318, allocations: 449.7 kB / 1.031 GB, free: 3.77 MB / 0.7481 GB
Notification: Performance of NFVerifyModel.verify: time 0.001313/0.8331, allocations: 0.6508 MB / 1.031 GB, free: 3.77 MB / 0.7481 GB
Notification: Performance of NFConvertDAE.convert: time 0.004294/0.8374, allocations: 2.178 MB / 1.033 GB, free: 3.613 MB / 0.7481 GB
Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8374, allocations: 4.5 kB / 1.033 GB, free: 3.613 MB / 0.7481 GB
Notification: Performance of FrontEnd: time 1.834e-06/0.8374, allocations: 0 / 1.033 GB, free: 3.613 MB / 0.7481 GB
Notification: Performance of Transformations before backend: time 1.626e-05/0.8374, allocations: 4.281 kB / 1.033 GB, free: 3.613 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: 222
 * Number of variables: 222
Notification: Performance of Generate backend data structure: time 0.004752/0.8422, allocations: 1.897 MB / 1.035 GB, free: 2.719 MB / 0.7481 GB
Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8422, allocations: 11.12 kB / 1.035 GB, free: 2.719 MB / 0.7481 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.8463, allocations: 0.7148 MB / 1.036 GB, free: 2.633 MB / 0.7481 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.848, allocations: 0.883 MB / 1.037 GB, free: 2.285 MB / 0.7481 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.848, allocations: 66 kB / 1.037 GB, free: 2.285 MB / 0.7481 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.8482, allocations: 89.08 kB / 1.037 GB, free: 2.285 MB / 0.7481 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.8509, allocations: 1.466 MB / 1.038 GB, free: 2.098 MB / 0.7481 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.8509, allocations: 2.062 kB / 1.038 GB, free: 2.098 MB / 0.7481 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.851, allocations: 34.78 kB / 1.038 GB, free: 2.098 MB / 0.7481 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.8511, allocations: 49.98 kB / 1.039 GB, free: 2.098 MB / 0.7481 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0035/0.8546, allocations: 1.559 MB / 1.04 GB, free: 2.09 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.006578/0.8612, allocations: 4.975 MB / 1.045 GB, free: 15.61 MB / 0.7637 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.8641, allocations: 1.138 MB / 1.046 GB, free: 15.57 MB / 0.7637 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.8655, allocations: 0.6366 MB / 1.047 GB, free: 15.56 MB / 0.7637 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008911/0.8664, allocations: 202.5 kB / 1.047 GB, free: 15.56 MB / 0.7637 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.868, allocations: 0.7222 MB / 1.048 GB, free: 15.5 MB / 0.7637 GB
Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.868, allocations: 0 / 1.048 GB, free: 15.5 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=82): time 0.005301/0.8733, allocations: 1.96 MB / 1.049 GB, free: 15.38 MB / 0.7637 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.8734, allocations: 66.67 kB / 1.05 GB, free: 15.31 MB / 0.7637 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.8747, allocations: 1.268 MB / 1.051 GB, free: 15.15 MB / 0.7637 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.8749, allocations: 46.98 kB / 1.051 GB, free: 15.12 MB / 0.7637 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8752, allocations: 0.5725 MB / 1.051 GB, free: 14.93 MB / 0.7637 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.8754, allocations: 297.4 kB / 1.052 GB, free: 14.75 MB / 0.7637 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.8757, allocations: 184.1 kB / 1.052 GB, free: 14.73 MB / 0.7637 GB
Notification: Performance of setup shared object (initialization): time 0.0001515/0.8758, allocations: 347.7 kB / 1.052 GB, free: 14.42 MB / 0.7637 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.8772, allocations: 0.5434 MB / 1.053 GB, free: 14.42 MB / 0.7637 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.8788, allocations: 0.8217 MB / 1.053 GB, free: 14.14 MB / 0.7637 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.8816, allocations: 1.345 MB / 1.055 GB, free: 13.89 MB / 0.7637 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8816, allocations: 0 / 1.055 GB, free: 13.89 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=117) (initialization): time 0.003498/0.8851, allocations: 1.529 MB / 1.056 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8851, allocations: 10.08 kB / 1.056 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8851, allocations: 7.281 kB / 1.056 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.8851, allocations: 10.22 kB / 1.056 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.8864, allocations: 290.3 kB / 1.057 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.8865, allocations: 20.52 kB / 1.057 GB, free: 13.78 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.8878, allocations: 205.9 kB / 1.057 GB, free: 13.71 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.8879, allocations: 54.55 kB / 1.057 GB, free: 13.71 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 31
 * Number of states: 0 ()
 * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (117):
 * Single equations (assignments): 117
 * 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.0005325/0.8884, allocations: 331.4 kB / 1.057 GB, free: 13.59 MB / 0.7637 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.8886, allocations: 144.9 kB / 1.057 GB, free: 13.52 MB / 0.7637 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.892, allocations: 1.482 MB / 1.059 GB, free: 13.42 MB / 0.7637 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.892, allocations: 9.156 kB / 1.059 GB, free: 13.42 MB / 0.7637 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.892, allocations: 0 / 1.059 GB, free: 13.42 MB / 0.7637 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.892, allocations: 10.03 kB / 1.059 GB, free: 13.41 MB / 0.7637 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/0.8972, allocations: 2.852 MB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.8972, allocations: 6.5 kB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.8985, allocations: 227.5 kB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.8985, allocations: 8.469 kB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.8985, allocations: 29.12 kB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/0.8985, allocations: 13.2 kB / 1.062 GB, free: 12.93 MB / 0.7637 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8985, allocations: 10.44 kB / 1.062 GB, free: 12.92 MB / 0.7637 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.9036, allocations: 2.342 MB / 1.064 GB, free: 12.5 MB / 0.7637 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/0.9042, allocations: 234.8 kB / 1.064 GB, free: 12.41 MB / 0.7637 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.9044, allocations: 24.48 kB / 1.064 GB, free: 12.41 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9055, allocations: 115.9 kB / 1.064 GB, free: 12.41 MB / 0.7637 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.9056, allocations: 62.11 kB / 1.065 GB, free: 12.4 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.9057, allocations: 43.28 kB / 1.065 GB, free: 12.4 MB / 0.7637 GB
Notification: Performance of sorting global known variables: time 0.001032/0.9067, allocations: 0.8726 MB / 1.065 GB, free: 12.29 MB / 0.7637 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.9067, allocations: 0 / 1.065 GB, free: 12.29 MB / 0.7637 GB
Notification: Performance of remove unused functions: time 0.001006/0.9077, allocations: 319 kB / 1.066 GB, free: 12.27 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 17
 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T)
 * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled)
 * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (85):
 * Single equations (assignments): 79
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 6
 * 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.001762/0.9095, allocations: 0.5406 MB / 1.066 GB, free: 12.07 MB / 0.7637 GB
Notification: Performance of simCode: created initialization part: time 0.003459/0.9129, allocations: 1.288 MB / 1.068 GB, free: 12.03 MB / 0.7637 GB
Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.9129, allocations: 6.281 kB / 1.068 GB, free: 12.02 MB / 0.7637 GB
Notification: Performance of simCode: created simulation system equations: time 0.001576/0.9145, allocations: 0.6414 MB / 1.068 GB, free: 12.01 MB / 0.7637 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.9171, allocations: 0.6327 MB / 1.069 GB, free: 11.89 MB / 0.7637 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.9218, allocations: 2.614 MB / 1.071 GB, free: 10.82 MB / 0.7637 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.9226, allocations: 1.176 MB / 1.072 GB, free: 10.11 MB / 0.7637 GB
Notification: Performance of simCode: alias equations: time 0.001331/0.9239, allocations: 352.2 kB / 1.073 GB, free: 10.01 MB / 0.7637 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.9243, allocations: 115.9 kB / 1.073 GB, free: 10 MB / 0.7637 GB
Notification: Performance of SimCode: time 9.72e-07/0.9243, allocations: 0 / 1.073 GB, free: 10 MB / 0.7637 GB
Notification: Performance of Templates: time 0.04284/0.9671, allocations: 24.06 MB / 1.096 GB, free: 11.22 MB / 0.7794 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.23055462911725]
Failed to read output from testmodel.py, exit status != 0:
0.9753147196024656 0.988807691 0.14820639199999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3bdbd457b0>