Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.001468/0.001468, allocations: 112.7 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.001677/0.001677, allocations: 189.4 kB / 22.22 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.456/1.456, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8798/0.8798, allocations: 134 MB / 440.2 MB, free: 260 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule")
translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.67 kB / 0.6107 GB, free: 13.72 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1721, allocations: 84.73 MB / 0.6934 GB, free: 9.07 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003405/0.1755, allocations: 1.431 MB / 0.6948 GB, free: 7.625 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.00129/0.1768, allocations: 0.4943 MB / 0.6953 GB, free: 7.129 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.1769, allocations: 0 / 0.6953 GB, free: 7.129 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 8.939e-05/0.1769, allocations: 11.92 kB / 0.6953 GB, free: 7.117 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.177, allocations: 3.938 kB / 0.6953 GB, free: 7.113 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.178, allocations: 253 kB / 0.6956 GB, free: 6.867 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1783, allocations: 143.8 kB / 0.6957 GB, free: 6.727 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.1784, allocations: 4 kB / 0.6957 GB, free: 6.723 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1785, allocations: 59.89 kB / 0.6958 GB, free: 6.664 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1786, allocations: 43.78 kB / 0.6958 GB, free: 6.621 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.1787, allocations: 8 kB / 0.6958 GB, free: 6.613 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.1791, allocations: 199.8 kB / 0.696 GB, free: 6.418 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.1792, allocations: 39.89 kB / 0.696 GB, free: 6.379 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1793, allocations: 51.8 kB / 0.6961 GB, free: 6.328 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.1798, allocations: 235.2 kB / 0.6963 GB, free: 6.098 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1798, allocations: 4 kB / 0.6963 GB, free: 6.094 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.432e-06/0.1798, allocations: 3.938 kB / 0.6963 GB, free: 6.09 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.402e-06/0.1798, allocations: 0 / 0.6963 GB, free: 6.09 MB / 0.5137 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.0007588/0.1806, allocations: 377.5 kB / 0.6967 GB, free: 5.688 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1806, allocations: 8.031 kB / 0.6967 GB, free: 5.68 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.1807, allocations: 16.84 kB / 0.6967 GB, free: 5.664 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.181, allocations: 148 kB / 0.6969 GB, free: 5.496 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.181, allocations: 16.38 kB / 0.6969 GB, free: 5.48 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1811, allocations: 8.375 kB / 0.6969 GB, free: 5.473 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1813, allocations: 83.94 kB / 0.697 GB, free: 5.379 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1813, allocations: 192 / 0.697 GB, free: 5.379 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1813, allocations: 3.938 kB / 0.697 GB, free: 5.375 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1813, allocations: 0 / 0.697 GB, free: 5.375 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1814, allocations: 39.92 kB / 0.697 GB, free: 5.336 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1818, allocations: 205.6 kB / 0.6972 GB, free: 5.09 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1819, allocations: 69.25 kB / 0.6973 GB, free: 5.004 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1821, allocations: 53.8 kB / 0.6973 GB, free: 4.945 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1821, allocations: 3.984 kB / 0.6973 GB, free: 4.941 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.1824, allocations: 118.9 kB / 0.6974 GB, free: 4.809 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1824, allocations: 4 kB / 0.6974 GB, free: 4.805 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=14): time 0.000477/0.1828, allocations: 193.4 kB / 0.6976 GB, free: 4.609 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.1829, allocations: 81.11 kB / 0.6977 GB, free: 4.512 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1831, allocations: 151.9 kB / 0.6978 GB, free: 4.355 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.1832, allocations: 33.7 kB / 0.6979 GB, free: 4.316 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1833, allocations: 104.4 kB / 0.698 GB, free: 4.207 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.1834, allocations: 47.67 kB / 0.698 GB, free: 4.16 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1835, allocations: 49.7 kB / 0.6981 GB, free: 4.105 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001947/0.1837, allocations: 322.8 kB / 0.6984 GB, free: 3.781 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1838, allocations: 47.92 kB / 0.6984 GB, free: 3.734 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1841, allocations: 200.3 kB / 0.6986 GB, free: 3.484 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.1843, allocations: 94.84 kB / 0.6987 GB, free: 3.387 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1844, allocations: 0 / 0.6987 GB, free: 3.387 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003787/0.1847, allocations: 168.8 kB / 0.6989 GB, free: 3.219 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1848, allocations: 7.125 kB / 0.6989 GB, free: 3.215 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.1848, allocations: 4 kB / 0.6989 GB, free: 3.211 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1848, allocations: 0 / 0.6989 GB, free: 3.211 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1849, allocations: 19.88 kB / 0.6989 GB, free: 3.191 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1849, allocations: 0.625 kB / 0.6989 GB, free: 3.191 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.1854, allocations: 79.83 kB / 0.699 GB, free: 3.113 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1854, allocations: 8 kB / 0.699 GB, free: 3.105 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (16):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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.0001637/0.1855, allocations: 125.8 kB / 0.6991 GB, free: 2.973 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1856, allocations: 19.84 kB / 0.6991 GB, free: 2.953 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1856, allocations: 16.7 kB / 0.6991 GB, free: 2.938 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1856, allocations: 4 kB / 0.6991 GB, free: 2.934 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1856, allocations: 0 / 0.6991 GB, free: 2.934 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1856, allocations: 0 / 0.6991 GB, free: 2.934 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1859, allocations: 160.7 kB / 0.6993 GB, free: 2.734 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1859, allocations: 7.938 kB / 0.6993 GB, free: 2.727 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.1859, allocations: 8 kB / 0.6993 GB, free: 2.719 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1859, allocations: 0 / 0.6993 GB, free: 2.719 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1859, allocations: 7.938 kB / 0.6993 GB, free: 2.711 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1859, allocations: 0 / 0.6993 GB, free: 2.711 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1859, allocations: 0 / 0.6993 GB, free: 2.711 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1864, allocations: 181.8 kB / 0.6995 GB, free: 2.512 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1864, allocations: 23.88 kB / 0.6995 GB, free: 2.488 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1864, allocations: 0 / 0.6995 GB, free: 2.488 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.1865, allocations: 4 kB / 0.6995 GB, free: 2.484 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1866, allocations: 3.984 kB / 0.6995 GB, free: 2.48 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1866, allocations: 8 kB / 0.6995 GB, free: 2.473 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.0001245/0.1867, allocations: 118 kB / 0.6996 GB, free: 2.359 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1e-07/0.1867, allocations: 0 / 0.6996 GB, free: 2.359 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0004649/0.1872, allocations: 71.81 kB / 0.6997 GB, free: 2.289 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext)
 * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * 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.0004069/0.1876, allocations: 172.3 kB / 0.6999 GB, free: 2.113 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0003812/0.1879, allocations: 167.3 kB / 0.7 GB, free: 1.938 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1879, allocations: 0 / 0.7 GB, free: 1.938 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 9.606e-05/0.188, allocations: 40.16 kB / 0.7001 GB, free: 1.898 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1883, allocations: 7.938 kB / 0.7001 GB, free: 1.891 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.1889, allocations: 227.2 kB / 0.7003 GB, free: 1.641 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.1894, allocations: 0.708 MB / 0.701 GB, free: 0.9062 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 6.081e-05/0.1895, allocations: 16.59 kB / 0.701 GB, free: 0.8867 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1895, allocations: 11.44 kB / 0.701 GB, free: 0.875 MB / 0.5137 GB
Notification: Performance of SimCode: time 4.71e-07/0.1895, allocations: 0 / 0.701 GB, free: 0.875 MB / 0.5137 GB
Notification: Performance of Templates: time 0.006251/0.1958, allocations: 2.566 MB / 0.7035 GB, free: 14.34 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.837760128080845]
Failed to read output from testmodel.py, exit status != 0:
0.20360596384853125 0.219010016 0.035903547
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f347f5e57b0>