Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001227/0.001227, 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.00161/0.00161, allocations: 189.4 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.386/1.386, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 291 kB / 306.6 MB, free: 8.344 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 180.9 MB / 0.53 GB, free: 14.46 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions")
translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 101.7 kB / 0.7308 GB, free: 38.98 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1651, allocations: 94.2 MB / 0.8228 GB, free: 1.844 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002321/0.1674, allocations: 1.282 MB / 0.8241 GB, free: 0.5469 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001062/0.1685, allocations: 0.6124 MB / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1685, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1685, allocations: 0 / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.1685, allocations: 7.938 kB / 0.8247 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.169, allocations: 143.4 kB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.1691, allocations: 19.92 kB / 0.8248 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1691, allocations: 8 kB / 0.8249 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1692, allocations: 4 kB / 0.8249 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.1692, allocations: 15.92 kB / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1692, allocations: 0 / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.1698, allocations: 347.3 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1698, allocations: 4 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1698, allocations: 7.938 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1701, allocations: 147.5 kB / 0.8254 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1701, allocations: 0 / 0.8254 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.1701, allocations: 0 / 0.8254 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5e-06/0.1701, allocations: 0 / 0.8254 GB, free: 15.24 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.000433/0.1706, allocations: 297.9 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1706, allocations: 12.62 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1706, allocations: 0.9375 kB / 0.8257 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1707, allocations: 102.5 kB / 0.8257 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1708, allocations: 8.375 kB / 0.8258 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1708, allocations: 384 / 0.8258 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1709, allocations: 42.25 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1709, allocations: 192 / 0.8258 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1709, allocations: 3.938 kB / 0.8258 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1709, allocations: 7.938 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.1709, allocations: 19.98 kB / 0.8258 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.1713, allocations: 220 kB / 0.826 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1715, allocations: 46.62 kB / 0.8261 GB, free: 14.38 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1716, allocations: 20.8 kB / 0.8261 GB, free: 14.36 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1716, allocations: 11.97 kB / 0.8261 GB, free: 14.35 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1716, allocations: 34.5 kB / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1716, allocations: 3.938 kB / 0.8262 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=4): time 0.0001724/0.1718, allocations: 57.69 kB / 0.8262 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1718, allocations: 51.41 kB / 0.8263 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.1719, allocations: 93.86 kB / 0.8263 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1719, allocations: 25.7 kB / 0.8264 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.172, allocations: 88.09 kB / 0.8265 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.172, allocations: 19.88 kB / 0.8265 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.172, allocations: 21.67 kB / 0.8265 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001245/0.1721, allocations: 310.8 kB / 0.8268 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.1722, allocations: 15.98 kB / 0.8268 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.1722, allocations: 21.66 kB / 0.8268 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.1723, allocations: 29.72 kB / 0.8269 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1723, allocations: 4 kB / 0.8269 GB, free: 13.51 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.772e-05/0.1724, allocations: 61.56 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1724, allocations: 8 kB / 0.8269 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1724, allocations: 0 / 0.8269 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1724, allocations: 0 / 0.8269 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1724, allocations: 11.98 kB / 0.8269 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1725, allocations: 0 / 0.8269 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.1725, allocations: 0 / 0.8269 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1725, allocations: 4 kB / 0.8269 GB, free: 13.42 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (5):
 * Single equations (assignments): 5
 * 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 7.751e-05/0.1726, allocations: 114.5 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1726, allocations: 4 kB / 0.8271 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.1727, allocations: 65.3 kB / 0.8271 GB, free: 13.22 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1727, allocations: 4 kB / 0.8271 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1727, allocations: 0 / 0.8271 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1727, allocations: 0 / 0.8271 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1729, allocations: 136.6 kB / 0.8272 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1729, allocations: 0 / 0.8272 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1729, allocations: 8 kB / 0.8273 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1729, allocations: 4 kB / 0.8273 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1729, allocations: 0 / 0.8273 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1729, allocations: 3.938 kB / 0.8273 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1729, allocations: 3.938 kB / 0.8273 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1731, allocations: 151.9 kB / 0.8274 GB, free: 12.86 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.926e-06/0.1731, allocations: 7.984 kB / 0.8274 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1731, allocations: 0 / 0.8274 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.1731, allocations: 0 / 0.8274 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.1732, allocations: 4.047 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1732, allocations: 8.109 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.052e-05/0.1732, allocations: 79.28 kB / 0.8275 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.8275 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002544/0.1735, allocations: 27.86 kB / 0.8275 GB, free: 12.73 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (4):
 * Single equations (assignments): 4
 * 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.0001841/0.1737, allocations: 111.2 kB / 0.8276 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001117/0.1738, allocations: 27.92 kB / 0.8277 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1738, allocations: 0 / 0.8277 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.1738, allocations: 16.06 kB / 0.8277 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.174, allocations: 9.844 kB / 0.8277 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1743, allocations: 114.9 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1746, allocations: 0.6768 MB / 0.8285 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.793e-05/0.1747, allocations: 4 kB / 0.8285 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1747, allocations: 19.44 kB / 0.8285 GB, free: 11.7 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.1747, allocations: 0 / 0.8285 GB, free: 11.7 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002928/0.1776, allocations: 0.5387 MB / 0.829 GB, free: 11.17 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.936416030861437]
Failed to read output from testmodel.py, exit status != 0:
0.18469336535781622 0.19975382699999994 0.026644845
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1e571bd7b0>