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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.8291/0.8291, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 65.77 kB / 0.5356 GB, free: 5.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1598, allocations: 85.88 MB / 0.6195 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002664/0.1624, allocations: 1.424 MB / 0.6209 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.1634, allocations: 477.5 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.1634, allocations: 0 / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.882e-05/0.1635, allocations: 7.922 kB / 0.6213 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.1635, allocations: 11.92 kB / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.1643, allocations: 242.9 kB / 0.6216 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1645, allocations: 155.8 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1646, allocations: 0 / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1647, allocations: 59.84 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.1648, allocations: 35.89 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.1648, allocations: 12 kB / 0.6218 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1652, allocations: 183.7 kB / 0.622 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1652, allocations: 39.95 kB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.1653, allocations: 43.8 kB / 0.6221 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1657, allocations: 239.2 kB / 0.6223 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1657, allocations: 0 / 0.6223 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1657, allocations: 0 / 0.6223 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1657, allocations: 4 kB / 0.6223 GB, free: 14.67 MB / 0.5294 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.000569/0.1662, allocations: 377.5 kB / 0.6227 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1663, allocations: 8.031 kB / 0.6227 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.1663, allocations: 16.89 kB / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1666, allocations: 146.3 kB / 0.6228 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.1666, allocations: 16.38 kB / 0.6229 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1666, allocations: 8.375 kB / 0.6229 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1668, allocations: 83.95 kB / 0.6229 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1668, allocations: 192 / 0.6229 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1668, allocations: 7.922 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1668, allocations: 0 / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.1669, allocations: 39.92 kB / 0.623 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1671, allocations: 166.2 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1672, allocations: 77.19 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.1673, allocations: 53.8 kB / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1673, allocations: 4 kB / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1675, allocations: 113 kB / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.113e-06/0.1675, allocations: 0 / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003611/0.1679, allocations: 189.4 kB / 0.6236 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.1679, allocations: 89.09 kB / 0.6236 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1681, allocations: 151.7 kB / 0.6238 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.1681, allocations: 37.7 kB / 0.6238 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1682, allocations: 96.45 kB / 0.6239 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1683, allocations: 39.73 kB / 0.624 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.1683, allocations: 49.69 kB / 0.624 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1685, allocations: 326.8 kB / 0.6243 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.1686, allocations: 51.92 kB / 0.6244 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.1692, allocations: 0.5949 MB / 0.6249 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1694, allocations: 97.25 kB / 0.625 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1694, allocations: 0 / 0.625 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002484/0.1696, allocations: 165.5 kB / 0.6252 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1696, allocations: 7.938 kB / 0.6252 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.1696, allocations: 4 kB / 0.6252 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1697, allocations: 0 / 0.6252 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.1697, allocations: 11.94 kB / 0.6252 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1697, allocations: 0 / 0.6252 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.1701, allocations: 83.78 kB / 0.6253 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1701, allocations: 4 kB / 0.6253 GB, free: 11.24 MB / 0.5294 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.000131/0.1702, allocations: 125.8 kB / 0.6254 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1702, allocations: 19.88 kB / 0.6254 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.1703, allocations: 12.78 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1703, allocations: 7.938 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1703, allocations: 0 / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1703, allocations: 0 / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.1704, allocations: 133.2 kB / 0.6256 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1704, allocations: 0 / 0.6256 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.1705, allocations: 11.94 kB / 0.6256 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1705, allocations: 0 / 0.6256 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1705, allocations: 3.938 kB / 0.6256 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1705, allocations: 7.984 kB / 0.6256 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1705, allocations: 8 kB / 0.6256 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1707, allocations: 169.9 kB / 0.6258 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.1708, allocations: 15.91 kB / 0.6258 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1708, allocations: 7.938 kB / 0.6258 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.1708, allocations: 0 / 0.6258 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1709, allocations: 11.92 kB / 0.6258 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1709, allocations: 8 kB / 0.6258 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.948e-05/0.171, allocations: 111.2 kB / 0.6259 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.171, allocations: 3.938 kB / 0.6259 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003076/0.1713, allocations: 75.8 kB / 0.626 GB, free: 10.46 MB / 0.5294 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.0002467/0.1715, allocations: 167.1 kB / 0.6262 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1718, allocations: 164 kB / 0.6263 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1718, allocations: 0 / 0.6263 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.1719, allocations: 36.17 kB / 0.6264 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.172, allocations: 8.078 kB / 0.6264 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.1726, allocations: 235.2 kB / 0.6266 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1727, allocations: 97.11 kB / 0.6267 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.1727, allocations: 4.734 kB / 0.6267 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1728, allocations: 12.5 kB / 0.6267 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1728, allocations: 0 / 0.6267 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of Templates: time 0.006462/0.1792, allocations: 2.695 MB / 0.6293 GB, free: 7.031 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.545885834959336] Failed to read output from testmodel.py, exit status != 0: 0.18757192103657871 0.204895348 0.035884271 Calling exit ...