Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001896/0.001896, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001604/0.001604, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.462/1.462, 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-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.112/1.112, allocations: 177.9 MB / 484.2 MB, free: 5.402 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate")
translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 65.14 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6941, allocations: 95.17 MB / 0.7669 GB, free: 7.945 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2223/0.9164, allocations: 168.3 MB / 0.9313 GB, free: 10.29 MB / 0.7169 GB
Notification: Performance of NFInst.instExpressions: time 0.009429/0.9258, allocations: 6.633 MB / 0.9378 GB, free: 3.645 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.9264, allocations: 19.81 kB / 0.9378 GB, free: 3.625 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.927, allocations: 178.7 kB / 0.938 GB, free: 3.449 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.002433/0.9294, allocations: 0.8791 MB / 0.9388 GB, free: 2.566 MB / 0.7169 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.9304, allocations: 366.6 kB / 0.9392 GB, free: 2.211 MB / 0.7169 GB
Notification: Performance of NFFlatten.flatten: time 0.0009235/0.9314, allocations: 0.7213 MB / 0.9399 GB, free: 1.484 MB / 0.7169 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.9318, allocations: 219.2 kB / 0.9401 GB, free: 1.266 MB / 0.7169 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.9334, allocations: 0.7356 MB / 0.9408 GB, free: 0.5273 MB / 0.7169 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.9338, allocations: 283 kB / 0.9411 GB, free: 256 kB / 0.7169 GB
Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.9338, allocations: 27.94 kB / 0.9411 GB, free: 228 kB / 0.7169 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.9345, allocations: 355.1 kB / 0.9414 GB, free: 15.88 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.9346, allocations: 107.7 kB / 0.9415 GB, free: 15.77 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.9348, allocations: 163.2 kB / 0.9417 GB, free: 15.61 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.9355, allocations: 477.2 kB / 0.9421 GB, free: 15.14 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9355, allocations: 0 / 0.9421 GB, free: 15.14 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.9355, allocations: 0 / 0.9421 GB, free: 15.14 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 7.524e-06/0.9355, allocations: 0 / 0.9421 GB, free: 15.14 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: 63
 * Number of variables: 63
Notification: Performance of Generate backend data structure: time 0.0009181/0.9364, allocations: 0.5555 MB / 0.9427 GB, free: 14.56 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.9364, allocations: 8.031 kB / 0.9427 GB, free: 14.55 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.9367, allocations: 71.64 kB / 0.9428 GB, free: 14.48 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.9372, allocations: 263.5 kB / 0.943 GB, free: 14.2 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.9373, allocations: 24.66 kB / 0.943 GB, free: 14.17 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.9373, allocations: 24 kB / 0.9431 GB, free: 14.14 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.9379, allocations: 324.9 kB / 0.9434 GB, free: 13.8 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9379, allocations: 0 / 0.9434 GB, free: 13.8 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.9379, allocations: 12 kB / 0.9434 GB, free: 13.79 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.9379, allocations: 7.938 kB / 0.9434 GB, free: 13.79 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.9384, allocations: 197.6 kB / 0.9436 GB, free: 13.59 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.94, allocations: 1.496 MB / 0.945 GB, free: 11.97 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.9403, allocations: 110.5 kB / 0.9451 GB, free: 11.85 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.9405, allocations: 80.8 kB / 0.9452 GB, free: 11.77 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.9409, allocations: 83.8 kB / 0.9453 GB, free: 11.69 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.941, allocations: 30.56 kB / 0.9453 GB, free: 11.65 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.941, allocations: 0 / 0.9453 GB, free: 11.65 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=13): time 0.0007745/0.9417, allocations: 277.6 kB / 0.9456 GB, free: 11.37 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.9418, allocations: 55.41 kB / 0.9456 GB, free: 11.3 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.9421, allocations: 308.5 kB / 0.9459 GB, free: 10.99 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.9421, allocations: 25.7 kB / 0.946 GB, free: 10.96 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.9423, allocations: 188.2 kB / 0.9461 GB, free: 10.77 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.9423, allocations: 47.62 kB / 0.9462 GB, free: 10.73 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.9424, allocations: 37.7 kB / 0.9462 GB, free: 10.68 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001645/0.9426, allocations: 338.8 kB / 0.9465 GB, free: 10.34 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9427, allocations: 63.95 kB / 0.9466 GB, free: 10.28 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.9429, allocations: 116.9 kB / 0.9467 GB, free: 10.15 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.9433, allocations: 173 kB / 0.9469 GB, free: 9.961 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9433, allocations: 0 / 0.9469 GB, free: 9.961 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004543/0.9438, allocations: 229.2 kB / 0.9471 GB, free: 9.73 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9438, allocations: 4 kB / 0.9471 GB, free: 9.727 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9438, allocations: 7.938 kB / 0.9471 GB, free: 9.719 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.9438, allocations: 0 / 0.9471 GB, free: 9.719 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.944, allocations: 39.92 kB / 0.9472 GB, free: 9.68 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.944, allocations: 0 / 0.9472 GB, free: 9.68 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.9442, allocations: 31.77 kB / 0.9472 GB, free: 9.648 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.9442, allocations: 4.047 kB / 0.9472 GB, free: 9.645 MB / 0.7325 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (17):
 * Single equations (assignments): 17
 * 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.0002281/0.9444, allocations: 161.8 kB / 0.9473 GB, free: 9.477 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.9445, allocations: 31.8 kB / 0.9474 GB, free: 9.445 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.945, allocations: 206.4 kB / 0.9476 GB, free: 9.238 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.945, allocations: 0 / 0.9476 GB, free: 9.238 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.945, allocations: 0 / 0.9476 GB, free: 9.238 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.945, allocations: 0 / 0.9476 GB, free: 9.238 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.9461, allocations: 0.6592 MB / 0.9482 GB, free: 8.508 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9461, allocations: 4 kB / 0.9482 GB, free: 8.504 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.9463, allocations: 32.14 kB / 0.9482 GB, free: 8.473 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.9463, allocations: 7.938 kB / 0.9483 GB, free: 8.465 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.9463, allocations: 0 / 0.9483 GB, free: 8.465 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.9463, allocations: 4 kB / 0.9483 GB, free: 8.461 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.9463, allocations: 7.984 kB / 0.9483 GB, free: 8.453 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.9468, allocations: 329.3 kB / 0.9486 GB, free: 8.094 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.9469, allocations: 47.73 kB / 0.9486 GB, free: 8.047 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.9469, allocations: 7.984 kB / 0.9486 GB, free: 8.039 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.9471, allocations: 8 kB / 0.9486 GB, free: 8.031 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.9471, allocations: 15.92 kB / 0.9487 GB, free: 8.016 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.9472, allocations: 11.98 kB / 0.9487 GB, free: 8.004 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0002251/0.9474, allocations: 223 kB / 0.9489 GB, free: 7.789 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 8e-08/0.9474, allocations: 0 / 0.9489 GB, free: 7.789 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0003913/0.9478, allocations: 75.83 kB / 0.949 GB, free: 7.715 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 (13):
 * Single equations (assignments): 13
 * 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.0004053/0.9482, allocations: 151 kB / 0.9491 GB, free: 7.562 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0004376/0.9486, allocations: 159.2 kB / 0.9492 GB, free: 7.41 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9486, allocations: 0 / 0.9492 GB, free: 7.41 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.9488, allocations: 83.81 kB / 0.9493 GB, free: 7.328 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.9497, allocations: 149.8 kB / 0.9495 GB, free: 7.184 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.9506, allocations: 0.5484 MB / 0.95 GB, free: 6.586 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.951, allocations: 0.7795 MB / 0.9508 GB, free: 5.777 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.000174/0.9512, allocations: 62.95 kB / 0.9508 GB, free: 5.715 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.9512, allocations: 27.42 kB / 0.9509 GB, free: 5.688 MB / 0.7325 GB
Notification: Performance of SimCode: time 2.9e-07/0.9512, allocations: 0 / 0.9509 GB, free: 5.688 MB / 0.7325 GB
Notification: Performance of Templates: time 0.01084/0.9621, allocations: 5.254 MB / 0.956 GB, free: 0.5195 MB / 0.7325 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.967287414707243]
Failed to read output from testmodel.py, exit status != 0:
0.9711465146392584 0.985338566 0.046725582
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff7478557b0>