Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006847/0.0006847, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0007124/0.0007124, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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 0.8371/0.8371, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7297/0.7297, allocations: 203.8 MB / 0.5049 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008555/0.0008555, allocations: 66.27 kB / 0.7194 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4192, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001538/0.4207, allocations: 1.409 MB / 0.8204 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005043/0.4212, allocations: 461.5 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.4213, allocations: 2.156 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.4213, allocations: 6.188 kB / 0.8208 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.4214, allocations: 13.33 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.4219, allocations: 244.2 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.4221, allocations: 154.3 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.4221, allocations: 5.922 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.4222, allocations: 57.27 kB / 0.8213 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.4222, allocations: 45.31 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.4223, allocations: 9.281 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.4225, allocations: 181.5 kB / 0.8215 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.4225, allocations: 39.17 kB / 0.8215 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.4226, allocations: 49.03 kB / 0.8216 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.4228, allocations: 232 kB / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4228, allocations: 0.9844 kB / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4228, allocations: 0 / 0.8218 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4228, allocations: 0 / 0.8218 GB, free: 15.68 MB / 0.6198 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.0004211/0.4232, allocations: 381 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.4233, allocations: 9.281 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.4233, allocations: 12.14 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4235, allocations: 160.8 kB / 0.8223 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4235, allocations: 9.594 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.4235, allocations: 8.844 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.4236, allocations: 88.41 kB / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4236, allocations: 192 / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4236, allocations: 3.938 kB / 0.8224 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4236, allocations: 0 / 0.8224 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.4237, allocations: 44.81 kB / 0.8225 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.4238, allocations: 165.6 kB / 0.8226 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.4239, allocations: 75.05 kB / 0.8227 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.424, allocations: 50.8 kB / 0.8228 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.424, allocations: 1.094 kB / 0.8228 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.4241, allocations: 112 kB / 0.8229 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 8.11e-07/0.4241, allocations: 0 / 0.8229 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002695/0.4244, allocations: 187.7 kB / 0.823 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4244, allocations: 84.39 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.4245, allocations: 159.4 kB / 0.8233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4245, allocations: 34.94 kB / 0.8233 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.4246, allocations: 100.3 kB / 0.8234 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4246, allocations: 37.47 kB / 0.8234 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.4247, allocations: 49.61 kB / 0.8235 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.4248, allocations: 323.1 kB / 0.8238 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.4248, allocations: 47.25 kB / 0.8238 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.425, allocations: 0.5997 MB / 0.8244 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.4251, allocations: 101.5 kB / 0.8245 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4251, allocations: 0 / 0.8245 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001571/0.4253, allocations: 159.6 kB / 0.8247 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4253, allocations: 9.484 kB / 0.8247 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.4253, allocations: 7.703 kB / 0.8247 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4253, allocations: 2.188 kB / 0.8247 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.4254, allocations: 16.23 kB / 0.8247 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.4254, allocations: 5.266 kB / 0.8247 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4256, allocations: 78.06 kB / 0.8248 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4256, allocations: 4.281 kB / 0.8248 GB, free: 13.12 MB / 0.6198 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 7.423e-05/0.4256, allocations: 130.7 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.4257, allocations: 17.62 kB / 0.8249 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.4257, allocations: 13.45 kB / 0.8249 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4257, allocations: 2.016 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4257, allocations: 0 / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4257, allocations: 1.984 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.63e-05/0.4258, allocations: 130.9 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4258, allocations: 1.25 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.4258, allocations: 10.44 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4258, allocations: 1.188 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4258, allocations: 6.844 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4258, allocations: 1.312 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4258, allocations: 4.656 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.426, allocations: 182.9 kB / 0.8253 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.426, allocations: 16.3 kB / 0.8253 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.426, allocations: 13.7 kB / 0.8253 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.426, allocations: 3.797 kB / 0.8253 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.426, allocations: 10 kB / 0.8253 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.426, allocations: 3.469 kB / 0.8253 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.4261, allocations: 116.5 kB / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4261, allocations: 0 / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001989/0.4263, allocations: 72.03 kB / 0.8255 GB, free: 12.59 MB / 0.6198 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.0001574/0.4265, allocations: 167.2 kB / 0.8257 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4266, allocations: 154.3 kB / 0.8258 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4266, allocations: 1.156 kB / 0.8258 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.4267, allocations: 36.59 kB / 0.8258 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.4268, allocations: 8.047 kB / 0.8259 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.4271, allocations: 262.6 kB / 0.8261 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.826e-05/0.4272, allocations: 96.11 kB / 0.8262 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.4272, allocations: 14.38 kB / 0.8262 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4272, allocations: 0 / 0.8262 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.003176/0.4304, allocations: 2.469 MB / 0.8286 GB, free: 11.82 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.400498491246253] Failed to read output from testmodel.py, exit status != 0: 0.43547360599040985 0.444232204 0.019712929 Calling exit ...