Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001351/0.001351, 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.001631/0.001631, allocations: 192.3 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.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.01 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.8618/0.8618, allocations: 134 MB / 440.3 MB, free: 176 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation")
translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 68.52 kB / 0.6107 GB, free: 13.64 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 84.73 MB / 0.6935 GB, free: 8.98 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5967/0.7674, allocations: 195.1 MB / 0.884 GB, free: 15.36 MB / 0.6544 GB
Notification: Performance of NFInst.instExpressions: time 0.01316/0.7806, allocations: 6.967 MB / 0.8908 GB, free: 8.383 MB / 0.6544 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.7822, allocations: 59.44 kB / 0.8909 GB, free: 8.324 MB / 0.6544 GB
Notification: Performance of NFTyping.typeComponents: time 0.002185/0.7844, allocations: 0.7103 MB / 0.8916 GB, free: 7.609 MB / 0.6544 GB
Notification: Performance of NFTyping.typeBindings: time 0.006735/0.7911, allocations: 2.475 MB / 0.894 GB, free: 5.125 MB / 0.6544 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.7952, allocations: 1.49 MB / 0.8955 GB, free: 3.664 MB / 0.6544 GB
Notification: Performance of NFFlatten.flatten: time 0.005428/0.8007, allocations: 3.048 MB / 0.8984 GB, free: 0.6094 MB / 0.6544 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.8024, allocations: 0.7056 MB / 0.8991 GB, free: 15.89 MB / 0.67 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.8057, allocations: 1.181 MB / 0.9003 GB, free: 14.71 MB / 0.67 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.8074, allocations: 0.8557 MB / 0.9011 GB, free: 13.87 MB / 0.67 GB
Notification: Performance of NFPackage.collectConstants: time 0.000231/0.8076, allocations: 104 kB / 0.9012 GB, free: 13.77 MB / 0.67 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.8127, allocations: 2.194 MB / 0.9033 GB, free: 11.57 MB / 0.67 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006174/0.8133, allocations: 386.6 kB / 0.9037 GB, free: 11.19 MB / 0.67 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.8143, allocations: 0.5753 MB / 0.9043 GB, free: 10.61 MB / 0.67 GB
Notification: Performance of NFConvertDAE.convert: time 0.00474/0.819, allocations: 2.445 MB / 0.9067 GB, free: 8.16 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.819, allocations: 0 / 0.9067 GB, free: 8.16 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.819, allocations: 0 / 0.9067 GB, free: 8.16 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 1.976e-05/0.819, allocations: 0 / 0.9067 GB, free: 8.16 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: 170
 * Number of variables: 170
Notification: Performance of Generate backend data structure: time 0.003983/0.823, allocations: 1.602 MB / 0.9082 GB, free: 6.516 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.8231, allocations: 12.03 kB / 0.9082 GB, free: 6.504 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.8265, allocations: 0.5386 MB / 0.9088 GB, free: 5.965 MB / 0.67 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.8292, allocations: 0.9742 MB / 0.9097 GB, free: 4.961 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.8293, allocations: 49.31 kB / 0.9098 GB, free: 4.914 MB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.8294, allocations: 72 kB / 0.9098 GB, free: 4.844 MB / 0.67 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.8322, allocations: 1.112 MB / 0.9109 GB, free: 3.699 MB / 0.67 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8323, allocations: 0 / 0.9109 GB, free: 3.699 MB / 0.67 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.8324, allocations: 28 kB / 0.9109 GB, free: 3.672 MB / 0.67 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.8324, allocations: 25.31 kB / 0.911 GB, free: 3.645 MB / 0.67 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.8357, allocations: 1.168 MB / 0.9121 GB, free: 2.477 MB / 0.67 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006571/0.8423, allocations: 3.118 MB / 0.9152 GB, free: 15.29 MB / 0.6856 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.8441, allocations: 0.6567 MB / 0.9158 GB, free: 14.63 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008631/0.845, allocations: 396.6 kB / 0.9162 GB, free: 14.24 MB / 0.6856 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.8455, allocations: 128.3 kB / 0.9163 GB, free: 14.12 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.8466, allocations: 0.5217 MB / 0.9168 GB, free: 13.56 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=57): time 2.214e-06/0.8466, allocations: 0 / 0.9168 GB, free: 13.56 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=57): time 0.003284/0.8499, allocations: 1.225 MB / 0.918 GB, free: 12.32 MB / 0.6856 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.85, allocations: 140.9 kB / 0.9181 GB, free: 12.16 MB / 0.6856 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.8521, allocations: 1.176 MB / 0.9193 GB, free: 10.96 MB / 0.6856 GB
Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.8522, allocations: 37.7 kB / 0.9193 GB, free: 10.92 MB / 0.6856 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.8527, allocations: 449.8 kB / 0.9198 GB, free: 10.48 MB / 0.6856 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.8529, allocations: 194.3 kB / 0.9199 GB, free: 10.29 MB / 0.6856 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.8531, allocations: 138.2 kB / 0.9201 GB, free: 10.14 MB / 0.6856 GB
Notification: Performance of setup shared object (initialization): time 0.0001688/0.8533, allocations: 334 kB / 0.9204 GB, free: 9.812 MB / 0.6856 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.8546, allocations: 437 kB / 0.9208 GB, free: 9.387 MB / 0.6856 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.8562, allocations: 0.6011 MB / 0.9214 GB, free: 8.738 MB / 0.6856 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.8584, allocations: 0.9335 MB / 0.9223 GB, free: 7.754 MB / 0.6856 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8584, allocations: 0 / 0.9223 GB, free: 7.754 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.003319/0.8617, allocations: 1.208 MB / 0.9235 GB, free: 6.527 MB / 0.6856 GB
Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.8618, allocations: 37.69 kB / 0.9235 GB, free: 6.484 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8618, allocations: 4 kB / 0.9235 GB, free: 6.48 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.8618, allocations: 7.938 kB / 0.9235 GB, free: 6.473 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.8628, allocations: 196 kB / 0.9237 GB, free: 6.281 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.8628, allocations: 9.719 kB / 0.9237 GB, free: 6.273 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.8644, allocations: 251.1 kB / 0.924 GB, free: 6.027 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.8645, allocations: 31.98 kB / 0.924 GB, free: 5.996 MB / 0.6856 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (67):
 * Single equations (assignments): 66
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0005452/0.865, allocations: 323.3 kB / 0.9243 GB, free: 5.664 MB / 0.6856 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8652, allocations: 119.2 kB / 0.9244 GB, free: 5.547 MB / 0.6856 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8675, allocations: 1.004 MB / 0.9254 GB, free: 4.535 MB / 0.6856 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.8675, allocations: 11.94 kB / 0.9254 GB, free: 4.523 MB / 0.6856 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8675, allocations: 3.938 kB / 0.9254 GB, free: 4.52 MB / 0.6856 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8675, allocations: 7.984 kB / 0.9254 GB, free: 4.512 MB / 0.6856 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.8728, allocations: 3.135 MB / 0.9285 GB, free: 1.23 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8728, allocations: 8 kB / 0.9285 GB, free: 1.223 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/0.8734, allocations: 116 kB / 0.9286 GB, free: 1.109 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.8735, allocations: 15.98 kB / 0.9286 GB, free: 1.094 MB / 0.6856 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.8735, allocations: 24 kB / 0.9286 GB, free: 1.07 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/0.8735, allocations: 15.92 kB / 0.9287 GB, free: 1.055 MB / 0.6856 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.8735, allocations: 8 kB / 0.9287 GB, free: 1.047 MB / 0.6856 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.8761, allocations: 1.351 MB / 0.93 GB, free: 15.58 MB / 0.7012 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.8768, allocations: 255 kB / 0.9302 GB, free: 15.33 MB / 0.7012 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.8769, allocations: 23.98 kB / 0.9303 GB, free: 15.31 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.8781, allocations: 103.9 kB / 0.9304 GB, free: 15.21 MB / 0.7012 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8782, allocations: 67.67 kB / 0.9304 GB, free: 15.14 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/0.8783, allocations: 31.98 kB / 0.9304 GB, free: 15.11 MB / 0.7012 GB
Notification: Performance of sorting global known variables: time 0.001594/0.8799, allocations: 0.8482 MB / 0.9313 GB, free: 14.25 MB / 0.7012 GB
Notification: Performance of sort global known variables: time 9e-08/0.8799, allocations: 4 kB / 0.9313 GB, free: 14.25 MB / 0.7012 GB
Notification: Performance of remove unused functions: time 0.001167/0.881, allocations: 303.6 kB / 0.9316 GB, free: 13.95 MB / 0.7012 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 32
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled)
 * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (56):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 4
 * 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.0007353/0.8818, allocations: 350.1 kB / 0.9319 GB, free: 13.62 MB / 0.7012 GB
Notification: Performance of simCode: created initialization part: time 0.002548/0.8843, allocations: 0.982 MB / 0.9329 GB, free: 12.63 MB / 0.7012 GB
Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8843, allocations: 0 / 0.9329 GB, free: 12.63 MB / 0.7012 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009682/0.8853, allocations: 484.8 kB / 0.9333 GB, free: 12.14 MB / 0.7012 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.8882, allocations: 0.5473 MB / 0.9339 GB, free: 11.63 MB / 0.7012 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.8919, allocations: 2.07 MB / 0.9359 GB, free: 9.43 MB / 0.7012 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.8927, allocations: 1.073 MB / 0.9369 GB, free: 8.324 MB / 0.7012 GB
Notification: Performance of simCode: alias equations: time 0.0009545/0.8936, allocations: 273.5 kB / 0.9372 GB, free: 8.059 MB / 0.7012 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.8939, allocations: 83.41 kB / 0.9373 GB, free: 7.977 MB / 0.7012 GB
Notification: Performance of SimCode: time 7.12e-07/0.8939, allocations: 0 / 0.9373 GB, free: 7.977 MB / 0.7012 GB
Notification: Performance of Templates: time 0.04025/0.9341, allocations: 22.68 MB / 0.9594 GB, free: 1.5 MB / 0.7169 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.813894160091877]
Failed to read output from testmodel.py, exit status != 0:
0.9418240450322628 0.957235926 0.13481689400000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fac5fdc57b0>