Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001425/0.001425, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.001252/0.001252, allocations: 189.9 kB / 22.98 MB, free: 5.082 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.308/1.308, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8864/0.8864, allocations: 149.6 MB / 456.6 MB, free: 1.195 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate")
translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 72.12 kB / 0.6329 GB, free: 8.965 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 87.87 MB / 0.7187 GB, free: 1.016 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4948/0.6828, allocations: 168.3 MB / 0.883 GB, free: 6.391 MB / 0.6544 GB
Notification: Performance of NFInst.instExpressions: time 0.007985/0.6908, allocations: 6.628 MB / 0.8895 GB, free: 15.75 MB / 0.67 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.6912, allocations: 23.81 kB / 0.8895 GB, free: 15.72 MB / 0.67 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.6918, allocations: 166.7 kB / 0.8897 GB, free: 15.56 MB / 0.67 GB
Notification: Performance of NFTyping.typeBindings: time 0.002008/0.6938, allocations: 0.8791 MB / 0.8905 GB, free: 14.68 MB / 0.67 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.6947, allocations: 354.1 kB / 0.8909 GB, free: 14.33 MB / 0.67 GB
Notification: Performance of NFFlatten.flatten: time 0.0009467/0.6956, allocations: 0.7212 MB / 0.8916 GB, free: 13.61 MB / 0.67 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.696, allocations: 223.3 kB / 0.8918 GB, free: 13.38 MB / 0.67 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.6975, allocations: 0.7317 MB / 0.8925 GB, free: 12.65 MB / 0.67 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.698, allocations: 286.9 kB / 0.8928 GB, free: 12.37 MB / 0.67 GB
Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.6981, allocations: 20 kB / 0.8928 GB, free: 12.35 MB / 0.67 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.6986, allocations: 351.2 kB / 0.8931 GB, free: 12 MB / 0.67 GB
Notification: Performance of NFScalarize.scalarize: time 0.000143/0.6988, allocations: 115.6 kB / 0.8932 GB, free: 11.89 MB / 0.67 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.699, allocations: 155.2 kB / 0.8934 GB, free: 11.74 MB / 0.67 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.6997, allocations: 478.5 kB / 0.8938 GB, free: 11.27 MB / 0.67 GB
Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6997, allocations: 0 / 0.8938 GB, free: 11.27 MB / 0.67 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.6997, allocations: 0 / 0.8938 GB, free: 11.27 MB / 0.67 GB
Notification: Performance of Transformations before backend: time 1.083e-05/0.6997, allocations: 0 / 0.8938 GB, free: 11.27 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: 63
 * Number of variables: 63
Notification: Performance of Generate backend data structure: time 0.0009215/0.7006, allocations: 0.5555 MB / 0.8944 GB, free: 10.69 MB / 0.67 GB
Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.7006, allocations: 8.625 kB / 0.8944 GB, free: 10.68 MB / 0.67 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.701, allocations: 63.67 kB / 0.8944 GB, free: 10.62 MB / 0.67 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.7015, allocations: 259.6 kB / 0.8947 GB, free: 10.34 MB / 0.67 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.7015, allocations: 20.66 kB / 0.8947 GB, free: 10.32 MB / 0.67 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.7016, allocations: 27.94 kB / 0.8947 GB, free: 10.29 MB / 0.67 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.7021, allocations: 320.9 kB / 0.895 GB, free: 9.949 MB / 0.67 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.7021, allocations: 0 / 0.895 GB, free: 9.949 MB / 0.67 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.7022, allocations: 12 kB / 0.8951 GB, free: 9.938 MB / 0.67 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.7022, allocations: 4 kB / 0.8951 GB, free: 9.934 MB / 0.67 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.7026, allocations: 209.4 kB / 0.8953 GB, free: 9.727 MB / 0.67 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.7043, allocations: 1.496 MB / 0.8967 GB, free: 8.105 MB / 0.67 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.7046, allocations: 118.4 kB / 0.8968 GB, free: 7.98 MB / 0.67 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.7047, allocations: 84.8 kB / 0.8969 GB, free: 7.895 MB / 0.67 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.7052, allocations: 71.92 kB / 0.897 GB, free: 7.824 MB / 0.67 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7052, allocations: 34.55 kB / 0.897 GB, free: 7.781 MB / 0.67 GB
Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.7052, allocations: 0 / 0.897 GB, free: 7.781 MB / 0.67 GB
Notification: Performance of matching and sorting (n=13): time 0.0007457/0.706, allocations: 281 kB / 0.8973 GB, free: 7.504 MB / 0.67 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.706, allocations: 55.41 kB / 0.8973 GB, free: 7.438 MB / 0.67 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.7064, allocations: 308.5 kB / 0.8976 GB, free: 7.133 MB / 0.67 GB
Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.7064, allocations: 29.64 kB / 0.8977 GB, free: 7.098 MB / 0.67 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.7065, allocations: 188.2 kB / 0.8978 GB, free: 6.91 MB / 0.67 GB
Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.7066, allocations: 51.56 kB / 0.8979 GB, free: 6.859 MB / 0.67 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.7066, allocations: 37.7 kB / 0.8979 GB, free: 6.816 MB / 0.67 GB
Notification: Performance of setup shared object (initialization): time 0.0001573/0.7068, allocations: 338.8 kB / 0.8982 GB, free: 6.477 MB / 0.67 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.707, allocations: 63.95 kB / 0.8983 GB, free: 6.414 MB / 0.67 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.7071, allocations: 110 kB / 0.8984 GB, free: 6.289 MB / 0.67 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.7075, allocations: 178.1 kB / 0.8986 GB, free: 6.098 MB / 0.67 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7075, allocations: 0 / 0.8986 GB, free: 6.098 MB / 0.67 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004149/0.7079, allocations: 221.3 kB / 0.8988 GB, free: 5.875 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7079, allocations: 5.719 kB / 0.8988 GB, free: 5.871 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7079, allocations: 4 kB / 0.8988 GB, free: 5.867 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7079, allocations: 0 / 0.8988 GB, free: 5.867 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.7081, allocations: 35.92 kB / 0.8988 GB, free: 5.832 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7081, allocations: 3.984 kB / 0.8988 GB, free: 5.828 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.7083, allocations: 28.59 kB / 0.8989 GB, free: 5.801 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.7083, allocations: 7.984 kB / 0.8989 GB, free: 5.793 MB / 0.67 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.0001538/0.7084, allocations: 169.7 kB / 0.899 GB, free: 5.617 MB / 0.67 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.7085, allocations: 23.86 kB / 0.8991 GB, free: 5.594 MB / 0.67 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.7089, allocations: 208.9 kB / 0.8993 GB, free: 5.383 MB / 0.67 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7089, allocations: 0 / 0.8993 GB, free: 5.383 MB / 0.67 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7089, allocations: 3.984 kB / 0.8993 GB, free: 5.379 MB / 0.67 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7089, allocations: 4 kB / 0.8993 GB, free: 5.375 MB / 0.67 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009959/0.7099, allocations: 0.6474 MB / 0.8999 GB, free: 4.66 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7099, allocations: 4 kB / 0.8999 GB, free: 4.656 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.7101, allocations: 32.19 kB / 0.8999 GB, free: 4.625 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.7101, allocations: 4 kB / 0.8999 GB, free: 4.621 MB / 0.67 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7101, allocations: 3.938 kB / 0.8999 GB, free: 4.617 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7101, allocations: 4 kB / 0.8999 GB, free: 4.613 MB / 0.67 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7101, allocations: 11.88 kB / 0.9 GB, free: 4.602 MB / 0.67 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.7106, allocations: 329.3 kB / 0.9003 GB, free: 4.242 MB / 0.67 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7107, allocations: 51.72 kB / 0.9003 GB, free: 4.191 MB / 0.67 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.7107, allocations: 7.938 kB / 0.9003 GB, free: 4.184 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.7108, allocations: 11.98 kB / 0.9003 GB, free: 4.172 MB / 0.67 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.7109, allocations: 23.86 kB / 0.9004 GB, free: 4.148 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.7109, allocations: 4 kB / 0.9004 GB, free: 4.145 MB / 0.67 GB
Notification: Performance of sorting global known variables: time 0.0002258/0.7111, allocations: 223 kB / 0.9006 GB, free: 3.93 MB / 0.67 GB
Notification: Performance of sort global known variables: time 6e-08/0.7111, allocations: 0 / 0.9006 GB, free: 3.93 MB / 0.67 GB
Notification: Performance of remove unused functions: time 0.0003436/0.7115, allocations: 71.89 kB / 0.9006 GB, free: 3.859 MB / 0.67 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.0003587/0.7118, allocations: 151.8 kB / 0.9008 GB, free: 3.707 MB / 0.67 GB
Notification: Performance of simCode: created initialization part: time 0.0003909/0.7122, allocations: 152.1 kB / 0.9009 GB, free: 3.559 MB / 0.67 GB
Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7122, allocations: 3.938 kB / 0.9009 GB, free: 3.555 MB / 0.67 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.7124, allocations: 79.89 kB / 0.901 GB, free: 3.477 MB / 0.67 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.7131, allocations: 159.6 kB / 0.9012 GB, free: 3.336 MB / 0.67 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.714, allocations: 0.5368 MB / 0.9017 GB, free: 2.75 MB / 0.67 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.7144, allocations: 0.7873 MB / 0.9025 GB, free: 1.934 MB / 0.67 GB
Notification: Performance of simCode: alias equations: time 0.0001692/0.7145, allocations: 61.16 kB / 0.9025 GB, free: 1.879 MB / 0.67 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.7146, allocations: 23.44 kB / 0.9025 GB, free: 1.855 MB / 0.67 GB
Notification: Performance of SimCode: time 3.91e-07/0.7146, allocations: 0 / 0.9025 GB, free: 1.855 MB / 0.67 GB
Notification: Performance of Templates: time 0.0107/0.7253, allocations: 5.248 MB / 0.9077 GB, free: 12.69 MB / 0.6856 GB
"
[Timeout remaining time 659]
make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.810260288417339]
Failed to read output from testmodel.py, exit status != 0:
0.7334078270941973 0.74587805 0.043312171000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa278c5d7b0>