Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001372/0.001372, 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.001446/0.001446, allocations: 191 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.477/1.477, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8705/0.8705, allocations: 134 MB / 440.3 MB, free: 248 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances")
translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.55 kB / 0.6107 GB, free: 13.67 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 84.73 MB / 0.6935 GB, free: 9.012 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6005/0.7868, allocations: 196.2 MB / 0.8851 GB, free: 14.12 MB / 0.6544 GB
Notification: Performance of NFInst.instExpressions: time 0.01969/0.8065, allocations: 14.47 MB / 0.8992 GB, free: 15.61 MB / 0.67 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.8079, allocations: 51.56 kB / 0.8993 GB, free: 15.56 MB / 0.67 GB
Notification: Performance of NFTyping.typeComponents: time 0.001741/0.8096, allocations: 0.5124 MB / 0.8998 GB, free: 15.04 MB / 0.67 GB
Notification: Performance of NFTyping.typeBindings: time 0.00513/0.8148, allocations: 1.999 MB / 0.9017 GB, free: 13.04 MB / 0.67 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.8176, allocations: 0.8969 MB / 0.9026 GB, free: 12.14 MB / 0.67 GB
Notification: Performance of NFFlatten.flatten: time 0.004179/0.8217, allocations: 2.635 MB / 0.9052 GB, free: 9.5 MB / 0.67 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.823, allocations: 0.8066 MB / 0.9059 GB, free: 8.676 MB / 0.67 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005833/0.8288, allocations: 1.681 MB / 0.9076 GB, free: 7.02 MB / 0.67 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.8313, allocations: 0.996 MB / 0.9086 GB, free: 6.023 MB / 0.67 GB
Notification: Performance of NFPackage.collectConstants: time 0.000223/0.8315, allocations: 104 kB / 0.9087 GB, free: 5.922 MB / 0.67 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.8343, allocations: 1.189 MB / 0.9098 GB, free: 4.73 MB / 0.67 GB
Notification: Performance of NFScalarize.scalarize: time 0.00061/0.835, allocations: 0.5064 MB / 0.9103 GB, free: 4.223 MB / 0.67 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.8359, allocations: 0.6338 MB / 0.9109 GB, free: 3.586 MB / 0.67 GB
Notification: Performance of NFConvertDAE.convert: time 0.002959/0.8388, allocations: 1.927 MB / 0.9128 GB, free: 1.656 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8388, allocations: 0 / 0.9128 GB, free: 1.656 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.8388, allocations: 4 kB / 0.9128 GB, free: 1.652 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 1.507e-05/0.8389, allocations: 4 kB / 0.9128 GB, free: 1.648 MB / 0.67 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 226
 * Number of variables: 226
Notification: Performance of Generate backend data structure: time 0.002422/0.8413, allocations: 1.411 MB / 0.9142 GB, free: 204 kB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8413, allocations: 12.03 kB / 0.9142 GB, free: 192 kB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.8427, allocations: 251 kB / 0.9144 GB, free: 15.94 MB / 0.6856 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.8441, allocations: 0.7323 MB / 0.9152 GB, free: 15.18 MB / 0.6856 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.8442, allocations: 70 kB / 0.9152 GB, free: 15.11 MB / 0.6856 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.8444, allocations: 99.97 kB / 0.9153 GB, free: 15.02 MB / 0.6856 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.8462, allocations: 1.169 MB / 0.9165 GB, free: 13.78 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.8462, allocations: 7.938 kB / 0.9165 GB, free: 13.77 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.8463, allocations: 36 kB / 0.9165 GB, free: 13.73 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.8464, allocations: 37.98 kB / 0.9165 GB, free: 13.7 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.8478, allocations: 0.9015 MB / 0.9174 GB, free: 12.79 MB / 0.6856 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.006118/0.8539, allocations: 5.673 MB / 0.923 GB, free: 6.664 MB / 0.6856 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.8548, allocations: 0.5046 MB / 0.9235 GB, free: 6.152 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.8552, allocations: 295.1 kB / 0.9237 GB, free: 5.863 MB / 0.6856 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/0.8557, allocations: 80.42 kB / 0.9238 GB, free: 5.785 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.8558, allocations: 39 kB / 0.9239 GB, free: 5.738 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.8558, allocations: 0 / 0.9239 GB, free: 5.738 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=49): time 0.001569/0.8573, allocations: 0.803 MB / 0.9246 GB, free: 4.926 MB / 0.6856 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.8574, allocations: 59.83 kB / 0.9247 GB, free: 4.855 MB / 0.6856 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.8583, allocations: 0.7548 MB / 0.9254 GB, free: 4.094 MB / 0.6856 GB
Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.8584, allocations: 37.7 kB / 0.9255 GB, free: 4.051 MB / 0.6856 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.8588, allocations: 0.5155 MB / 0.926 GB, free: 3.527 MB / 0.6856 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.859, allocations: 182.5 kB / 0.9261 GB, free: 3.348 MB / 0.6856 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.8592, allocations: 142.6 kB / 0.9263 GB, free: 3.199 MB / 0.6856 GB
Notification: Performance of setup shared object (initialization): time 0.0001657/0.8593, allocations: 334 kB / 0.9266 GB, free: 2.867 MB / 0.6856 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.8597, allocations: 245.8 kB / 0.9268 GB, free: 2.629 MB / 0.6856 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.8604, allocations: 0.5681 MB / 0.9274 GB, free: 1.926 MB / 0.6856 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.8615, allocations: 0.7995 MB / 0.9282 GB, free: 1.016 MB / 0.6856 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.8615, allocations: 4 kB / 0.9282 GB, free: 1.012 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.001312/0.8628, allocations: 0.8434 MB / 0.929 GB, free: 164 kB / 0.6856 GB
Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8628, allocations: 16.03 kB / 0.929 GB, free: 148 kB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8629, allocations: 11.98 kB / 0.929 GB, free: 136 kB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.8629, allocations: 12 kB / 0.929 GB, free: 124 kB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.8635, allocations: 151.8 kB / 0.9292 GB, free: 15.97 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.8635, allocations: 19.88 kB / 0.9292 GB, free: 15.95 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.8642, allocations: 102.1 kB / 0.9293 GB, free: 15.86 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.8643, allocations: 36 kB / 0.9293 GB, free: 15.82 MB / 0.7012 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 36
 * 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 (86):
 * Single equations (assignments): 86
 * 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.0004663/0.8647, allocations: 333.4 kB / 0.9296 GB, free: 15.48 MB / 0.7012 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.8649, allocations: 94.19 kB / 0.9297 GB, free: 15.39 MB / 0.7012 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.8659, allocations: 0.614 MB / 0.9303 GB, free: 14.78 MB / 0.7012 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.866, allocations: 8 kB / 0.9303 GB, free: 14.77 MB / 0.7012 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.866, allocations: 3.938 kB / 0.9303 GB, free: 14.77 MB / 0.7012 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007594/0.8667, allocations: 0.5134 MB / 0.9308 GB, free: 14.24 MB / 0.7012 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.8693, allocations: 1.639 MB / 0.9324 GB, free: 12.53 MB / 0.7012 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8693, allocations: 3.938 kB / 0.9325 GB, free: 12.52 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.8699, allocations: 112.1 kB / 0.9326 GB, free: 12.41 MB / 0.7012 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.8699, allocations: 8 kB / 0.9326 GB, free: 12.41 MB / 0.7012 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.8699, allocations: 19.98 kB / 0.9326 GB, free: 12.39 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.8699, allocations: 4 kB / 0.9326 GB, free: 12.38 MB / 0.7012 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8699, allocations: 1.562 kB / 0.9326 GB, free: 12.38 MB / 0.7012 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.8714, allocations: 1.054 MB / 0.9336 GB, free: 11.29 MB / 0.7012 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.8717, allocations: 147.4 kB / 0.9338 GB, free: 11.15 MB / 0.7012 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8719, allocations: 15.98 kB / 0.9338 GB, free: 11.13 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.8723, allocations: 19.19 kB / 0.9338 GB, free: 11.12 MB / 0.7012 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.8724, allocations: 39.88 kB / 0.9338 GB, free: 11.08 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.8724, allocations: 23.92 kB / 0.9339 GB, free: 11.05 MB / 0.7012 GB
Notification: Performance of sorting global known variables: time 0.000667/0.8731, allocations: 0.5107 MB / 0.9344 GB, free: 10.55 MB / 0.7012 GB
Notification: Performance of sort global known variables: time 7e-08/0.8731, allocations: 0 / 0.9344 GB, free: 10.55 MB / 0.7012 GB
Notification: Performance of remove unused functions: time 0.0009133/0.874, allocations: 299.4 kB / 0.9346 GB, free: 10.25 MB / 0.7012 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1])
 * 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 (49):
 * Single equations (assignments): 49
 * 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.0005159/0.8745, allocations: 202.2 kB / 0.9348 GB, free: 10.06 MB / 0.7012 GB
Notification: Performance of simCode: created initialization part: time 0.0009948/0.8755, allocations: 0.587 MB / 0.9354 GB, free: 9.477 MB / 0.7012 GB
Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8755, allocations: 3.938 kB / 0.9354 GB, free: 9.473 MB / 0.7012 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.8759, allocations: 261.5 kB / 0.9357 GB, free: 9.219 MB / 0.7012 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.8779, allocations: 439.2 kB / 0.9361 GB, free: 8.809 MB / 0.7012 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.8813, allocations: 1.945 MB / 0.938 GB, free: 6.809 MB / 0.7012 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.8822, allocations: 1.122 MB / 0.9391 GB, free: 5.66 MB / 0.7012 GB
Notification: Performance of simCode: alias equations: time 0.0009396/0.8831, allocations: 263.1 kB / 0.9393 GB, free: 5.398 MB / 0.7012 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.8833, allocations: 75.42 kB / 0.9394 GB, free: 5.324 MB / 0.7012 GB
Notification: Performance of SimCode: time 9.01e-07/0.8833, allocations: 0 / 0.9394 GB, free: 5.324 MB / 0.7012 GB
Notification: Performance of Templates: time 0.03141/0.9147, allocations: 16.15 MB / 0.9552 GB, free: 5.426 MB / 0.7169 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.764275178313255]
Failed to read output from testmodel.py, exit status != 0:
0.9228227129206061 0.937511478 0.09542578600000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd83f9917b0>