Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001443/0.001443, 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.001592/0.001592, allocations: 188.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.343/1.343, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8627/0.8627, allocations: 145 MB / 451.2 MB, free: 5.465 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset")
translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 74.14 kB / 0.6253 GB, free: 15.54 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 86.7 MB / 0.71 GB, free: 8.844 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005577/0.1622, allocations: 4.138 MB / 0.714 GB, free: 4.684 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00224/0.1645, allocations: 1.34 MB / 0.7153 GB, free: 3.336 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.1647, allocations: 31.81 kB / 0.7153 GB, free: 3.305 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1651, allocations: 126.7 kB / 0.7155 GB, free: 3.18 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1654, allocations: 182.4 kB / 0.7156 GB, free: 3 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.1662, allocations: 437.2 kB / 0.7161 GB, free: 2.578 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001053/0.1673, allocations: 0.9592 MB / 0.717 GB, free: 1.613 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.1678, allocations: 310.5 kB / 0.7173 GB, free: 1.289 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.1682, allocations: 346.7 kB / 0.7176 GB, free: 0.9492 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.1685, allocations: 338.4 kB / 0.7179 GB, free: 0.6172 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1686, allocations: 92 kB / 0.718 GB, free: 0.5273 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1688, allocations: 92 kB / 0.7181 GB, free: 448 kB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.169, allocations: 175.4 kB / 0.7183 GB, free: 272 kB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.1693, allocations: 398.1 kB / 0.7187 GB, free: 15.87 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1704, allocations: 1.113 MB / 0.7198 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1704, allocations: 0 / 0.7198 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.352e-06/0.1704, allocations: 0 / 0.7198 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.959e-06/0.1704, allocations: 0 / 0.7198 GB, free: 14.76 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 146
 * Number of variables: 146
Notification: Performance of Generate backend data structure: time 0.001925/0.1723, allocations: 1.084 MB / 0.7208 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1724, allocations: 8.031 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1725, allocations: 84.42 kB / 0.7209 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.1735, allocations: 0.5115 MB / 0.7214 GB, free: 13 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1735, allocations: 41.69 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.1736, allocations: 60.38 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1747, allocations: 0.6078 MB / 0.7221 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1748, allocations: 8 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.1748, allocations: 20 kB / 0.7221 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1748, allocations: 15.98 kB / 0.7221 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1759, allocations: 457 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.1788, allocations: 1.951 MB / 0.7245 GB, free: 9.766 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.1798, allocations: 425.7 kB / 0.7249 GB, free: 9.344 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.1803, allocations: 226 kB / 0.7251 GB, free: 9.117 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1803, allocations: 4.438 kB / 0.7251 GB, free: 9.113 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/0.1808, allocations: 261.3 kB / 0.7253 GB, free: 8.848 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=49): time 1.804e-06/0.1808, allocations: 4 kB / 0.7254 GB, free: 8.844 MB / 0.545 GB
Notification: Performance of matching and sorting (n=49): time 0.001348/0.1822, allocations: 0.5807 MB / 0.7259 GB, free: 8.254 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.1823, allocations: 59.78 kB / 0.726 GB, free: 8.184 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.1828, allocations: 446 kB / 0.7264 GB, free: 7.738 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.1829, allocations: 37.69 kB / 0.7264 GB, free: 7.695 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.1831, allocations: 332.8 kB / 0.7268 GB, free: 7.363 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.1832, allocations: 174.5 kB / 0.7269 GB, free: 7.191 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.1834, allocations: 90.34 kB / 0.727 GB, free: 7.098 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001835/0.1836, allocations: 362.8 kB / 0.7274 GB, free: 6.734 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.184, allocations: 165.2 kB / 0.7275 GB, free: 6.574 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.1845, allocations: 254.7 kB / 0.7278 GB, free: 6.297 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/0.1854, allocations: 447 kB / 0.7282 GB, free: 5.828 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1854, allocations: 0 / 0.7282 GB, free: 5.828 MB / 0.545 GB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/0.1865, allocations: 0.5651 MB / 0.7287 GB, free: 5.25 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.1865, allocations: 37.64 kB / 0.7288 GB, free: 5.207 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1865, allocations: 4 kB / 0.7288 GB, free: 5.203 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1865, allocations: 4 kB / 0.7288 GB, free: 5.199 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.187, allocations: 120.1 kB / 0.7289 GB, free: 5.082 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.187, allocations: 4 kB / 0.7289 GB, free: 5.078 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.1873, allocations: 63.59 kB / 0.729 GB, free: 5.016 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.1874, allocations: 20 kB / 0.729 GB, free: 4.996 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002489/0.1876, allocations: 207.4 kB / 0.7292 GB, free: 4.785 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.1877, allocations: 59.55 kB / 0.7292 GB, free: 4.727 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1879, allocations: 73.58 kB / 0.7293 GB, free: 4.656 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1879, allocations: 4 kB / 0.7293 GB, free: 4.652 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1879, allocations: 0 / 0.7293 GB, free: 4.652 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1879, allocations: 3.984 kB / 0.7293 GB, free: 4.648 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.1897, allocations: 1.154 MB / 0.7304 GB, free: 3.441 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1897, allocations: 0 / 0.7304 GB, free: 3.441 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.1902, allocations: 95.89 kB / 0.7305 GB, free: 3.348 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1902, allocations: 4 kB / 0.7305 GB, free: 3.344 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.1902, allocations: 11.98 kB / 0.7305 GB, free: 3.332 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1902, allocations: 4 kB / 0.7305 GB, free: 3.328 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1902, allocations: 0 / 0.7305 GB, free: 3.328 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1916, allocations: 0.7612 MB / 0.7313 GB, free: 2.551 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1918, allocations: 95.58 kB / 0.7314 GB, free: 2.457 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.1918, allocations: 12 kB / 0.7314 GB, free: 2.445 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.1921, allocations: 23.97 kB / 0.7314 GB, free: 2.422 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.1922, allocations: 40.36 kB / 0.7315 GB, free: 2.383 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.1923, allocations: 12 kB / 0.7315 GB, free: 2.371 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003408/0.1926, allocations: 310.9 kB / 0.7318 GB, free: 2.07 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1e-07/0.1926, allocations: 4 kB / 0.7318 GB, free: 2.066 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004107/0.193, allocations: 143.6 kB / 0.7319 GB, free: 1.926 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T)
 * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y)
 * Number of discrete states: 1 (TSet.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (49):
 * Single equations (assignments): 47
 * 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.0001258/0.1931, allocations: 111.2 kB / 0.732 GB, free: 1.809 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0009502/0.1941, allocations: 465.1 kB / 0.7324 GB, free: 1.348 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1941, allocations: 0 / 0.7324 GB, free: 1.348 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.1945, allocations: 202.4 kB / 0.7326 GB, free: 1.145 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.1953, allocations: 168.5 kB / 0.7328 GB, free: 0.9883 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.1978, allocations: 1.361 MB / 0.7341 GB, free: 15.59 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.1984, allocations: 0.89 MB / 0.735 GB, free: 14.68 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0002304/0.1986, allocations: 68.58 kB / 0.7351 GB, free: 14.61 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.1987, allocations: 39.44 kB / 0.7351 GB, free: 14.57 MB / 0.5606 GB
Notification: Performance of SimCode: time 3.41e-07/0.1987, allocations: 0 / 0.7351 GB, free: 14.57 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01206/0.2108, allocations: 6.318 MB / 0.7413 GB, free: 8.336 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.4888904029503465]
Failed to read output from testmodel.py, exit status != 0:
0.2179335542023182 0.457717009 0.284834283
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3777d217b0>