Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001321/0.001321, 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.001341/0.001341, allocations: 189.6 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.506/1.506, 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-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.147/1.147, allocations: 177.9 MB / 484.2 MB, free: 5.363 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate")
translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 64.33 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6824, allocations: 95.18 MB / 0.7669 GB, free: 7.941 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2473/0.9297, allocations: 170.2 MB / 0.9332 GB, free: 8.348 MB / 0.7169 GB
Notification: Performance of NFInst.instExpressions: time 0.01184/0.9416, allocations: 7.217 MB / 0.9402 GB, free: 1.117 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.9425, allocations: 15.88 kB / 0.9402 GB, free: 1.102 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.001204/0.9437, allocations: 178.7 kB / 0.9404 GB, free: 0.9258 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.006125/0.9498, allocations: 1.331 MB / 0.9417 GB, free: 15.59 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.9526, allocations: 0.6753 MB / 0.9424 GB, free: 14.92 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.001767/0.9544, allocations: 0.7758 MB / 0.9431 GB, free: 14.14 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.9551, allocations: 243.2 kB / 0.9434 GB, free: 13.89 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.9577, allocations: 0.7512 MB / 0.9441 GB, free: 13.14 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.9591, allocations: 438.5 kB / 0.9445 GB, free: 12.71 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.9592, allocations: 24 kB / 0.9445 GB, free: 12.69 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.9625, allocations: 1.352 MB / 0.9458 GB, free: 11.33 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.9627, allocations: 131.5 kB / 0.946 GB, free: 11.2 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.963, allocations: 175.1 kB / 0.9461 GB, free: 11.03 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.00251/0.9655, allocations: 0.9109 MB / 0.947 GB, free: 10.12 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9655, allocations: 0 / 0.947 GB, free: 10.12 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.372e-06/0.9655, allocations: 0 / 0.947 GB, free: 10.12 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 2.236e-05/0.9656, allocations: 4 kB / 0.947 GB, free: 10.12 MB / 0.7325 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 65
 * Number of variables: 65
Notification: Performance of Generate backend data structure: time 0.00134/0.9669, allocations: 0.6368 MB / 0.9477 GB, free: 9.449 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9669, allocations: 8.031 kB / 0.9477 GB, free: 9.441 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.968, allocations: 131.5 kB / 0.9478 GB, free: 9.312 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.9687, allocations: 275.6 kB / 0.9481 GB, free: 9.016 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.9688, allocations: 54.33 kB / 0.9481 GB, free: 8.953 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.9689, allocations: 28 kB / 0.9481 GB, free: 8.926 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.9697, allocations: 367.3 kB / 0.9485 GB, free: 8.551 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9697, allocations: 3.938 kB / 0.9485 GB, free: 8.547 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.9697, allocations: 15.94 kB / 0.9485 GB, free: 8.531 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.9698, allocations: 8 kB / 0.9485 GB, free: 8.523 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005764/0.9703, allocations: 273.8 kB / 0.9488 GB, free: 8.258 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.9727, allocations: 1.449 MB / 0.9502 GB, free: 6.688 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.9732, allocations: 186.5 kB / 0.9504 GB, free: 6.496 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.9734, allocations: 108.8 kB / 0.9505 GB, free: 6.387 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.9743, allocations: 135.8 kB / 0.9506 GB, free: 6.254 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.9744, allocations: 34.56 kB / 0.9506 GB, free: 6.211 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=15): time 2.876e-06/0.9744, allocations: 0 / 0.9506 GB, free: 6.211 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=15): time 0.001153/0.9756, allocations: 361.2 kB / 0.951 GB, free: 5.852 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.9756, allocations: 59.28 kB / 0.951 GB, free: 5.781 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.976, allocations: 316.5 kB / 0.9513 GB, free: 5.461 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.9761, allocations: 33.7 kB / 0.9514 GB, free: 5.422 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.9763, allocations: 184.4 kB / 0.9515 GB, free: 5.238 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.9764, allocations: 59.53 kB / 0.9516 GB, free: 5.18 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.9765, allocations: 45.66 kB / 0.9516 GB, free: 5.129 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.000167/0.9766, allocations: 342.8 kB / 0.952 GB, free: 4.785 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.9769, allocations: 83.92 kB / 0.952 GB, free: 4.703 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.9771, allocations: 152 kB / 0.9522 GB, free: 4.535 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.9776, allocations: 233.8 kB / 0.9524 GB, free: 4.285 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9776, allocations: 0 / 0.9524 GB, free: 4.285 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006763/0.9783, allocations: 283 kB / 0.9527 GB, free: 4.004 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9783, allocations: 4 kB / 0.9527 GB, free: 4 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9783, allocations: 4 kB / 0.9527 GB, free: 3.996 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9783, allocations: 4.188 kB / 0.9527 GB, free: 3.992 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.9786, allocations: 47.91 kB / 0.9527 GB, free: 3.945 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.9786, allocations: 4 kB / 0.9527 GB, free: 3.941 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.9788, allocations: 31.77 kB / 0.9528 GB, free: 3.91 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.9789, allocations: 12 kB / 0.9528 GB, free: 3.898 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (20):
 * Single equations (assignments): 20
 * 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.0001914/0.979, allocations: 153.7 kB / 0.9529 GB, free: 3.738 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.9792, allocations: 31.84 kB / 0.953 GB, free: 3.707 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.9799, allocations: 318.9 kB / 0.9533 GB, free: 3.391 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9799, allocations: 0 / 0.9533 GB, free: 3.391 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9799, allocations: 0 / 0.9533 GB, free: 3.391 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.9799, allocations: 0 / 0.9533 GB, free: 3.391 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.9815, allocations: 0.7762 MB / 0.954 GB, free: 2.543 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.9815, allocations: 11.94 kB / 0.954 GB, free: 2.531 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.9817, allocations: 35.91 kB / 0.9541 GB, free: 2.496 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.9817, allocations: 4 kB / 0.9541 GB, free: 2.492 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.9817, allocations: 8.219 kB / 0.9541 GB, free: 2.484 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.9817, allocations: 8 kB / 0.9541 GB, free: 2.477 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.9817, allocations: 0 / 0.9541 GB, free: 2.477 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.9824, allocations: 405.1 kB / 0.9545 GB, free: 2.043 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.9826, allocations: 67.64 kB / 0.9545 GB, free: 1.977 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.9826, allocations: 11.94 kB / 0.9546 GB, free: 1.965 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.9829, allocations: 11.98 kB / 0.9546 GB, free: 1.953 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.9829, allocations: 23.97 kB / 0.9546 GB, free: 1.93 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.983, allocations: 8 kB / 0.9546 GB, free: 1.922 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0003094/0.9833, allocations: 227 kB / 0.9548 GB, free: 1.703 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 8e-08/0.9833, allocations: 0 / 0.9548 GB, free: 1.703 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0005582/0.9838, allocations: 115.8 kB / 0.9549 GB, free: 1.59 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * 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 simulation (16):
 * Single equations (assignments): 16
 * 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.0007327/0.9846, allocations: 236 kB / 0.9551 GB, free: 1.352 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0006206/0.9852, allocations: 214.7 kB / 0.9553 GB, free: 1.145 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9852, allocations: 0 / 0.9553 GB, free: 1.145 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.9855, allocations: 111.8 kB / 0.9555 GB, free: 1.035 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.9864, allocations: 171.3 kB / 0.9556 GB, free: 0.8711 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.9877, allocations: 0.6049 MB / 0.9562 GB, free: 228 kB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.9883, allocations: 0.7834 MB / 0.957 GB, free: 15.41 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0003146/0.9886, allocations: 86.88 kB / 0.9571 GB, free: 15.32 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.9887, allocations: 27.44 kB / 0.9571 GB, free: 15.3 MB / 0.7481 GB
Notification: Performance of SimCode: time 3.11e-07/0.9887, allocations: 0 / 0.9571 GB, free: 15.3 MB / 0.7481 GB
Notification: Performance of Templates: time 0.01548/1.004, allocations: 7.447 MB / 0.9644 GB, free: 7.941 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.163908197544515]
Failed to read output from testmodel.py, exit status != 0:
1.0140613643452525 1.028254203 0.059300122000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb8d315d7b0>