Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001623/0.001623, 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.001879/0.001879, allocations: 190.4 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.391/1.391, allocations: 225.6 MB / 251 MB, free: 13 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.002394/0.002394, allocations: 282.8 kB / 306.5 MB, free: 8.305 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.191/1.191, allocations: 180.9 MB / 0.53 GB, free: 14.38 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData")
translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 102.1 kB / 0.7309 GB, free: 38.78 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1712, allocations: 94.2 MB / 0.8228 GB, free: 1.773 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003388/0.1746, allocations: 1.657 MB / 0.8245 GB, free: 108 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.002665/0.1773, allocations: 1.587 MB / 0.826 GB, free: 14.51 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.1774, allocations: 7.938 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1778, allocations: 55.75 kB / 0.8261 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.178, allocations: 55.7 kB / 0.8261 GB, free: 14.39 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1784, allocations: 106.4 kB / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1786, allocations: 175.6 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1787, allocations: 240 / 0.8264 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1788, allocations: 67.77 kB / 0.8265 GB, free: 14.05 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.179, allocations: 71.78 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1791, allocations: 12 kB / 0.8265 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1792, allocations: 59.98 kB / 0.8266 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.1793, allocations: 55.77 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1794, allocations: 55.67 kB / 0.8267 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1797, allocations: 195.2 kB / 0.8269 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1797, allocations: 0 / 0.8269 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.1797, allocations: 7.875 kB / 0.8269 GB, free: 13.6 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.163e-06/0.1797, allocations: 0 / 0.8269 GB, free: 13.6 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0006698/0.1804, allocations: 405.1 kB / 0.8273 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1804, allocations: 16.61 kB / 0.8273 GB, free: 13.16 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.1805, allocations: 20.8 kB / 0.8273 GB, free: 13.14 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.1809, allocations: 198.4 kB / 0.8275 GB, free: 12.92 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1809, allocations: 4.375 kB / 0.8275 GB, free: 12.92 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.181, allocations: 16.11 kB / 0.8275 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1812, allocations: 115.3 kB / 0.8276 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1812, allocations: 0 / 0.8276 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1812, allocations: 7.922 kB / 0.8277 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1812, allocations: 4 kB / 0.8277 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.1815, allocations: 139.9 kB / 0.8278 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.1818, allocations: 208.5 kB / 0.828 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.1821, allocations: 162.5 kB / 0.8281 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1823, allocations: 52.77 kB / 0.8282 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1823, allocations: 4 kB / 0.8282 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.1825, allocations: 123.3 kB / 0.8283 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1825, allocations: 0 / 0.8283 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=13): time 0.0005118/0.183, allocations: 215.8 kB / 0.8285 GB, free: 11.81 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.1831, allocations: 85.09 kB / 0.8286 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1833, allocations: 194.8 kB / 0.8288 GB, free: 11.5 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1834, allocations: 33.7 kB / 0.8288 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.1834, allocations: 112.1 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.1835, allocations: 43.75 kB / 0.829 GB, free: 11.3 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.1836, allocations: 45.64 kB / 0.829 GB, free: 11.25 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001549/0.1837, allocations: 326.8 kB / 0.8293 GB, free: 10.93 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1838, allocations: 47.92 kB / 0.8294 GB, free: 10.88 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.184, allocations: 70.55 kB / 0.8294 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1842, allocations: 125.7 kB / 0.8296 GB, free: 10.67 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1842, allocations: 8.031 kB / 0.8296 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003431/0.1845, allocations: 190.2 kB / 0.8297 GB, free: 10.47 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1846, allocations: 4 kB / 0.8297 GB, free: 10.47 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1846, allocations: 0 / 0.8297 GB, free: 10.47 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1846, allocations: 4 kB / 0.8298 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1847, allocations: 27.98 kB / 0.8298 GB, free: 10.44 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1847, allocations: 0 / 0.8298 GB, free: 10.44 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1848, allocations: 19.88 kB / 0.8298 GB, free: 10.42 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1848, allocations: 7.938 kB / 0.8298 GB, free: 10.41 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (15):
 * Single equations (assignments): 15
 * 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.0001393/0.1849, allocations: 150.4 kB / 0.8299 GB, free: 10.25 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.185, allocations: 15.91 kB / 0.83 GB, free: 10.24 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.1854, allocations: 216.2 kB / 0.8302 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1854, allocations: 0 / 0.8302 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1854, allocations: 0 / 0.8302 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1854, allocations: 3.984 kB / 0.8302 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1857, allocations: 224.4 kB / 0.8304 GB, free: 9.758 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1857, allocations: 0 / 0.8304 GB, free: 9.758 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.1857, allocations: 12 kB / 0.8304 GB, free: 9.746 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1857, allocations: 8 kB / 0.8304 GB, free: 9.738 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1857, allocations: 3.984 kB / 0.8304 GB, free: 9.734 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1857, allocations: 4 kB / 0.8304 GB, free: 9.73 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1857, allocations: 0 / 0.8304 GB, free: 9.73 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1861, allocations: 211.9 kB / 0.8306 GB, free: 9.508 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.1861, allocations: 11.91 kB / 0.8306 GB, free: 9.496 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1862, allocations: 8 kB / 0.8306 GB, free: 9.488 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.1862, allocations: 0 / 0.8306 GB, free: 9.488 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1862, allocations: 19.91 kB / 0.8307 GB, free: 9.469 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1863, allocations: 19.92 kB / 0.8307 GB, free: 9.449 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.000149/0.1864, allocations: 148.2 kB / 0.8308 GB, free: 9.305 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1864, allocations: 0 / 0.8308 GB, free: 9.305 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002575/0.1867, allocations: 39.92 kB / 0.8309 GB, free: 9.266 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled)
 * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (13):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.001658/0.1883, allocations: 450.1 kB / 0.8313 GB, free: 8.992 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003076/0.1886, allocations: 123.9 kB / 0.8314 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1886, allocations: 0 / 0.8314 GB, free: 8.871 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1888, allocations: 51.92 kB / 0.8314 GB, free: 8.82 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.189, allocations: 48.59 kB / 0.8315 GB, free: 8.781 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.1896, allocations: 298.9 kB / 0.8318 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.19, allocations: 0.7164 MB / 0.8325 GB, free: 7.719 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001164/0.1901, allocations: 53.36 kB / 0.8325 GB, free: 7.668 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.1902, allocations: 31.42 kB / 0.8326 GB, free: 7.637 MB / 0.5762 GB
Notification: Performance of SimCode: time 5.11e-07/0.1902, allocations: 4 kB / 0.8326 GB, free: 7.633 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006624/0.1968, allocations: 2.607 MB / 0.8351 GB, free: 5.074 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.85340141877532]
Failed to read output from testmodel.py, exit status != 0:
0.20431419555097818 0.21996686000000001 0.037106464000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f173ffe97b0>