Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001224/0.001224, allocations: 110 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.001293/0.001293, allocations: 186 kB / 22.23 MB, free: 5.164 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.371/1.371, allocations: 225.6 MB / 251 MB, free: 13 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.002466/0.002466, allocations: 295.7 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.199/1.199, allocations: 180.9 MB / 0.53 GB, free: 14.37 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.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor")
translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 107.2 kB / 0.7309 GB, free: 38.68 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1577, allocations: 94.2 MB / 0.8228 GB, free: 1.766 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6385/0.7962, allocations: 211.1 MB / 1.029 GB, free: 3.992 MB / 0.7481 GB
Notification: Performance of NFInst.instExpressions: time 0.01347/0.8097, allocations: 9.938 MB / 1.039 GB, free: 3.891 MB / 0.7481 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.8118, allocations: 85.91 kB / 1.039 GB, free: 3.891 MB / 0.7481 GB
Notification: Performance of NFTyping.typeComponents: time 0.001866/0.8136, allocations: 0.8049 MB / 1.04 GB, free: 3.879 MB / 0.7481 GB
Notification: Performance of NFTyping.typeBindings: time 0.008498/0.8221, allocations: 2.967 MB / 1.042 GB, free: 3.766 MB / 0.7481 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.8259, allocations: 1.457 MB / 1.044 GB, free: 3.715 MB / 0.7481 GB
Notification: Performance of NFFlatten.flatten: time 0.005815/0.8318, allocations: 4.19 MB / 1.048 GB, free: 3.715 MB / 0.7481 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.8333, allocations: 0.9914 MB / 1.049 GB, free: 3.621 MB / 0.7481 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.8357, allocations: 1.44 MB / 1.05 GB, free: 3.613 MB / 0.7481 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.8386, allocations: 1.328 MB / 1.052 GB, free: 3.605 MB / 0.7481 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.8388, allocations: 143.3 kB / 1.052 GB, free: 3.605 MB / 0.7481 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.8439, allocations: 2.587 MB / 1.054 GB, free: 3.582 MB / 0.7481 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007481/0.8446, allocations: 0.6245 MB / 1.055 GB, free: 3.578 MB / 0.7481 GB
Notification: Performance of NFVerifyModel.verify: time 0.00119/0.8458, allocations: 0.8568 MB / 1.056 GB, free: 3.512 MB / 0.7481 GB
Notification: Performance of NFConvertDAE.convert: time 0.004942/0.8507, allocations: 3.01 MB / 1.059 GB, free: 3.168 MB / 0.7481 GB
Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8507, allocations: 0 / 1.059 GB, free: 3.168 MB / 0.7481 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.8507, allocations: 0 / 1.059 GB, free: 3.168 MB / 0.7481 GB
Notification: Performance of Transformations before backend: time 2.326e-05/0.8508, allocations: 0.7812 kB / 1.059 GB, free: 3.168 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: 272
 * Number of variables: 272
Notification: Performance of Generate backend data structure: time 0.002701/0.8535, allocations: 1.887 MB / 1.061 GB, free: 2.262 MB / 0.7481 GB
Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.8535, allocations: 8.156 kB / 1.061 GB, free: 2.262 MB / 0.7481 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.8564, allocations: 495.8 kB / 1.061 GB, free: 2.176 MB / 0.7481 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8581, allocations: 1.05 MB / 1.062 GB, free: 1.848 MB / 0.7481 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.8582, allocations: 81.52 kB / 1.062 GB, free: 1.844 MB / 0.7481 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.8583, allocations: 113.2 kB / 1.062 GB, free: 1.844 MB / 0.7481 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.86, allocations: 1.154 MB / 1.063 GB, free: 1.758 MB / 0.7481 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.86, allocations: 6.375 kB / 1.063 GB, free: 1.758 MB / 0.7481 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.8601, allocations: 46.8 kB / 1.063 GB, free: 1.758 MB / 0.7481 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.8602, allocations: 38.45 kB / 1.063 GB, free: 1.754 MB / 0.7481 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.8616, allocations: 1.074 MB / 1.065 GB, free: 1.738 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.005877/0.8675, allocations: 4.144 MB / 1.069 GB, free: 16.14 MB / 0.7637 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.8685, allocations: 0.7678 MB / 1.069 GB, free: 16.09 MB / 0.7637 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.8691, allocations: 459.6 kB / 1.07 GB, free: 16.08 MB / 0.7637 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.8693, allocations: 67.86 kB / 1.07 GB, free: 16.08 MB / 0.7637 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.8694, allocations: 47.09 kB / 1.07 GB, free: 16.04 MB / 0.7637 GB
Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.8694, allocations: 1.031 kB / 1.07 GB, free: 16.04 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=89): time 0.004909/0.8743, allocations: 2.633 MB / 1.072 GB, free: 15.53 MB / 0.7637 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.8743, allocations: 67.2 kB / 1.072 GB, free: 15.46 MB / 0.7637 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8754, allocations: 0.97 MB / 1.073 GB, free: 15.32 MB / 0.7637 GB
Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.8755, allocations: 47.86 kB / 1.073 GB, free: 15.29 MB / 0.7637 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.8758, allocations: 0.5526 MB / 1.074 GB, free: 15.08 MB / 0.7637 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.876, allocations: 328 kB / 1.074 GB, free: 14.87 MB / 0.7637 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.8762, allocations: 161.4 kB / 1.074 GB, free: 14.84 MB / 0.7637 GB
Notification: Performance of setup shared object (initialization): time 0.0001455/0.8764, allocations: 338.9 kB / 1.075 GB, free: 14.54 MB / 0.7637 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.8768, allocations: 345.1 kB / 1.075 GB, free: 14.54 MB / 0.7637 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.8773, allocations: 484.8 kB / 1.076 GB, free: 14.42 MB / 0.7637 GB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start)
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start)
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start)
Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/0.8825, allocations: 2.809 MB / 1.078 GB, free: 14.28 MB / 0.7637 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.8825, allocations: 3.562 kB / 1.078 GB, free: 14.28 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=108) (initialization): time 0.001387/0.8839, allocations: 1.014 MB / 1.079 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8839, allocations: 8.594 kB / 1.079 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.8839, allocations: 6.031 kB / 1.079 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.8839, allocations: 7.75 kB / 1.079 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.8846, allocations: 183.9 kB / 1.08 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.8846, allocations: 4.844 kB / 1.08 GB, free: 14.15 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.8856, allocations: 34.84 kB / 1.08 GB, free: 14.14 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.8856, allocations: 41.11 kB / 1.08 GB, free: 14.14 MB / 0.7637 GB
Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system:
         vol.dynBal.medium.p = vol.dynBal.p_start
         volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start
         vol1.dynBal.medium.p = vol1.dynBal.p_start.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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 (108):
 * Single equations (assignments): 108
 * 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.0005587/0.8862, allocations: 372 kB / 1.08 GB, free: 14.03 MB / 0.7637 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.8864, allocations: 137 kB / 1.08 GB, free: 13.96 MB / 0.7637 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.8866, allocations: 150.9 kB / 1.08 GB, free: 13.93 MB / 0.7637 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.8866, allocations: 10.12 kB / 1.08 GB, free: 13.93 MB / 0.7637 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.8866, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.7637 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.888, allocations: 1.092 MB / 1.081 GB, free: 13.55 MB / 0.7637 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.8922, allocations: 3.016 MB / 1.084 GB, free: 12.68 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.8922, allocations: 8.688 kB / 1.084 GB, free: 12.68 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.8929, allocations: 163.2 kB / 1.084 GB, free: 12.67 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.8932, allocations: 97.02 kB / 1.085 GB, free: 12.64 MB / 0.7637 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.8932, allocations: 36.52 kB / 1.085 GB, free: 12.62 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.8957, allocations: 2.888 MB / 1.087 GB, free: 9.93 MB / 0.7637 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8957, allocations: 12.69 kB / 1.087 GB, free: 9.93 MB / 0.7637 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.8983, allocations: 1.75 MB / 1.089 GB, free: 8.902 MB / 0.7637 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.8989, allocations: 229.4 kB / 1.089 GB, free: 8.785 MB / 0.7637 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.899, allocations: 39.11 kB / 1.089 GB, free: 8.766 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/0.8999, allocations: 37.94 kB / 1.089 GB, free: 8.754 MB / 0.7637 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9, allocations: 90.78 kB / 1.089 GB, free: 8.734 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.9001, allocations: 45.95 kB / 1.09 GB, free: 8.727 MB / 0.7637 GB
Notification: Performance of sorting global known variables: time 0.0009125/0.901, allocations: 0.694 MB / 1.09 GB, free: 8.445 MB / 0.7637 GB
Notification: Performance of sort global known variables: time 9e-08/0.901, allocations: 0.8125 kB / 1.09 GB, free: 8.445 MB / 0.7637 GB
Notification: Performance of remove unused functions: time 0.001144/0.9021, allocations: 380.4 kB / 1.091 GB, free: 8.406 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 39
 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U)
 * 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 (85):
 * Single equations (assignments): 83
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006136/0.9027, allocations: 238.3 kB / 1.091 GB, free: 8.289 MB / 0.7637 GB
Notification: Performance of simCode: created initialization part: time 0.001399/0.9041, allocations: 0.8209 MB / 1.092 GB, free: 8.031 MB / 0.7637 GB
Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9041, allocations: 0 / 1.092 GB, free: 8.031 MB / 0.7637 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.9051, allocations: 0.6526 MB / 1.092 GB, free: 7.691 MB / 0.7637 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.9085, allocations: 0.9304 MB / 1.093 GB, free: 7.453 MB / 0.7637 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.9128, allocations: 2.813 MB / 1.096 GB, free: 5.762 MB / 0.7637 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009612/0.9137, allocations: 1.255 MB / 1.097 GB, free: 4.98 MB / 0.7637 GB
Notification: Performance of simCode: alias equations: time 0.00124/0.915, allocations: 340.5 kB / 1.097 GB, free: 4.906 MB / 0.7637 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.9152, allocations: 102.5 kB / 1.098 GB, free: 4.895 MB / 0.7637 GB
Notification: Performance of SimCode: time 9.12e-07/0.9152, allocations: 0 / 1.098 GB, free: 4.895 MB / 0.7637 GB
Notification: Performance of Templates: time 0.04805/0.9633, allocations: 29.33 MB / 1.126 GB, free: 11.89 MB / 0.795 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.417850714176893]
Failed to read output from testmodel.py, exit status != 0:
0.9707097765058279 0.984911845 0.131094774
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f55e7f3d7b0>