Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001521/0.001521, 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.001608/0.001608, allocations: 186 kB / 22.23 MB, free: 5.164 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.387/1.387, 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/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.00252/0.00252, allocations: 283.6 kB / 306.5 MB, free: 8.328 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.207/1.207, allocations: 180.9 MB / 0.53 GB, free: 14.39 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp")
translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 100.6 kB / 0.7308 GB, free: 38.44 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.19, allocations: 94.2 MB / 0.8228 GB, free: 1.773 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00254/0.1925, allocations: 1.258 MB / 0.8241 GB, free: 0.5078 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001151/0.1937, allocations: 0.5935 MB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.1937, allocations: 0 / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.1937, allocations: 3.938 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.1938, allocations: 7.938 kB / 0.8246 GB, free: 15.9 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.1943, allocations: 131.5 kB / 0.8248 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.1944, allocations: 15.92 kB / 0.8248 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1944, allocations: 3.938 kB / 0.8248 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.1944, allocations: 12 kB / 0.8248 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.1945, allocations: 0 / 0.8248 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1945, allocations: 0 / 0.8248 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.1951, allocations: 347.3 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1951, allocations: 3.938 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1951, allocations: 4 kB / 0.8251 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1954, allocations: 139.5 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1954, allocations: 0 / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.673e-06/0.1954, allocations: 0 / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.553e-06/0.1954, allocations: 4 kB / 0.8253 GB, free: 15.25 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0004644/0.1959, allocations: 282 kB / 0.8255 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1959, allocations: 8.625 kB / 0.8256 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.196, allocations: 4.922 kB / 0.8256 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1961, allocations: 110.5 kB / 0.8257 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1961, allocations: 4.375 kB / 0.8257 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1961, allocations: 384 / 0.8257 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1962, allocations: 34.2 kB / 0.8257 GB, free: 14.76 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1962, allocations: 192 / 0.8257 GB, free: 14.76 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1962, allocations: 3.938 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1962, allocations: 4 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.1963, allocations: 7.984 kB / 0.8257 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1964, allocations: 124.8 kB / 0.8258 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.1965, allocations: 18.61 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.1965, allocations: 12.92 kB / 0.8259 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1965, allocations: 0 / 0.8259 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1966, allocations: 46.48 kB / 0.8259 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1966, allocations: 0 / 0.8259 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0001488/0.1967, allocations: 41.64 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1968, allocations: 55.41 kB / 0.826 GB, free: 14.37 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.1969, allocations: 89.86 kB / 0.8261 GB, free: 14.27 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1969, allocations: 29.69 kB / 0.8261 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.1969, allocations: 80.14 kB / 0.8262 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1969, allocations: 7.953 kB / 0.8262 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.197, allocations: 17.97 kB / 0.8262 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001537/0.1971, allocations: 314.8 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1971, allocations: 3.938 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.1971, allocations: 4 kB / 0.8265 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.1972, allocations: 16.8 kB / 0.8265 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1972, allocations: 3.984 kB / 0.8265 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.185e-05/0.1972, allocations: 37.66 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1973, allocations: 4.094 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1973, allocations: 11.88 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1973, allocations: 4 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1974, allocations: 11.98 kB / 0.8266 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004384/0.1979, allocations: 0.586 MB / 0.8272 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.1979, allocations: 0 / 0.8272 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1979, allocations: 0 / 0.8272 GB, free: 13.09 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.198, allocations: 114.5 kB / 0.8273 GB, free: 12.97 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.198, allocations: 4.031 kB / 0.8273 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1981, allocations: 48.94 kB / 0.8273 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1981, allocations: 0 / 0.8273 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1981, allocations: 0 / 0.8273 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1981, allocations: 0 / 0.8273 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1982, allocations: 132.7 kB / 0.8275 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1982, allocations: 0 / 0.8275 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.1983, allocations: 11.94 kB / 0.8275 GB, free: 12.72 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1983, allocations: 8.016 kB / 0.8275 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1983, allocations: 0 / 0.8275 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003827/0.1987, allocations: 0.5782 MB / 0.8281 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1987, allocations: 3.938 kB / 0.8281 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.248e-05/0.1988, allocations: 73.16 kB / 0.8281 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.1988, allocations: 3.984 kB / 0.8281 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1988, allocations: 0 / 0.8281 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.1988, allocations: 0 / 0.8281 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1989, allocations: 7.938 kB / 0.8281 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1989, allocations: 0 / 0.8281 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.477e-05/0.1989, allocations: 79.28 kB / 0.8282 GB, free: 11.93 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 0.8282 GB, free: 11.93 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0001889/0.1991, allocations: 8 kB / 0.8282 GB, free: 11.92 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 (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.1993, allocations: 115.3 kB / 0.8283 GB, free: 11.8 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001747/0.1995, allocations: 19.92 kB / 0.8284 GB, free: 11.78 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1995, allocations: 0 / 0.8284 GB, free: 11.78 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.1996, allocations: 15.98 kB / 0.8284 GB, free: 11.76 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.1997, allocations: 7.938 kB / 0.8284 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.2001, allocations: 110.3 kB / 0.8285 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2005, allocations: 0.6766 MB / 0.8291 GB, free: 10.92 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.731e-05/0.2005, allocations: 0 / 0.8291 GB, free: 10.92 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.2005, allocations: 7.438 kB / 0.8291 GB, free: 10.91 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.2005, allocations: 0 / 0.8291 GB, free: 10.91 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00288/0.2034, allocations: 485.2 kB / 0.8296 GB, free: 10.47 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.843864409253001]
Failed to read output from testmodel.py, exit status != 0:
0.2107892045751214 0.226118005 0.027675108
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f201f3e97b0>