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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004043/0.005193, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001333/0.001333, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003743/0.005076, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.126, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7897/0.7897, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2574/1.047, allocations: 49.05 MB / 447.8 MB, free: 6.539 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 449.1 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.687e-05, allocations: 2.312 kB / 449.1 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003481/0.003508, allocations: 1.509 MB / 450.6 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.004436, allocations: 482.2 kB / 451.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.00448, allocations: 0.6562 kB / 451.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.004562, allocations: 8.844 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.004638, allocations: 12.06 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.005408, allocations: 227.7 kB / 451.3 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.005645, allocations: 152.4 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.005694, allocations: 3.984 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.005846, allocations: 91.2 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.005928, allocations: 27.94 kB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.005959, allocations: 12 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.006339, allocations: 200.9 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.006407, allocations: 23.92 kB / 451.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.00647, allocations: 28.92 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.006879, allocations: 204.2 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.006897, allocations: 0 / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.006899, allocations: 0.6562 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.006913, allocations: 0 / 452.1 MB, free: 2.383 MB / 426.7 MB 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.0005343/0.007447, allocations: 391.1 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.007481, allocations: 8.031 kB / 452.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.007525, allocations: 16.86 kB / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.007678, allocations: 143.6 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.007695, allocations: 12.36 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.007716, allocations: 14.34 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.007806, allocations: 62.78 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.007814, allocations: 192 / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.007822, allocations: 384 / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.007829, allocations: 4.375 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.007861, allocations: 26.2 kB / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.007973, allocations: 96.28 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.008036, allocations: 54.64 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.008062, allocations: 22.94 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.008069, allocations: 1.453 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.008195, allocations: 98.55 kB / 453 MB, free: 1.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.008196, allocations: 0 / 453 MB, free: 1.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000155/0.008351, allocations: 87.25 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.008402, allocations: 94.2 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.008483, allocations: 140.7 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.008508, allocations: 37.7 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.008545, allocations: 97.02 kB / 453.4 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.008586, allocations: 35.72 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.008644, allocations: 47.38 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.008733, allocations: 330.7 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.008758, allocations: 18.81 kB / 453.9 MB, free: 412 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.008981, allocations: 0.5357 MB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.009057, allocations: 81.05 kB / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.00906, allocations: 0 / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001091/0.009169, allocations: 99.23 kB / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.009182, allocations: 8.656 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.0092, allocations: 0 / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.009211, allocations: 1.25 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.00928, allocations: 16 kB / 454.6 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.009287, allocations: 11.92 kB / 454.6 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.00939, allocations: 37.41 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.009396, allocations: 4 kB / 454.7 MB, free: 15.45 MB / 442.7 MB 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 8.509e-05/0.009481, allocations: 127.2 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.009495, allocations: 11.98 kB / 454.8 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.00952, allocations: 12.78 kB / 454.8 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.009523, allocations: 5.031 kB / 454.8 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009527, allocations: 4.891 kB / 454.8 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.009531, allocations: 3.938 kB / 454.8 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.863e-05/0.00962, allocations: 86.64 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.009623, allocations: 4 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.009645, allocations: 4 kB / 454.9 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.009654, allocations: 8.859 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009657, allocations: 4 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.009662, allocations: 0.625 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009663, allocations: 0 / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009665, allocations: 0.625 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.009768, allocations: 122.3 kB / 455 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.009781, allocations: 0.625 kB / 455 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.009804, allocations: 4.625 kB / 455.1 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.009834, allocations: 14.33 kB / 455.1 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.009839, allocations: 0.625 kB / 455.1 MB, free: 15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.009866, allocations: 31.52 kB / 455.1 MB, free: 14.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009866, allocations: 0 / 455.1 MB, free: 14.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.01006, allocations: 76.36 kB / 455.2 MB, free: 14.89 MB / 442.7 MB 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.0002168/0.01028, allocations: 168.8 kB / 455.3 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01043, allocations: 115.2 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.01044, allocations: 4 kB / 455.5 MB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.01048, allocations: 39.64 kB / 455.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.383e-05/0.01057, allocations: 12 kB / 455.5 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.011, allocations: 211.4 kB / 455.7 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.01104, allocations: 67.34 kB / 455.8 MB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01107, allocations: 13.3 kB / 455.8 MB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.01115, allocations: 75.34 kB / 455.9 MB, free: 14.13 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01115, allocations: 1.5 kB / 455.9 MB, free: 14.13 MB / 442.7 MB Notification: Performance of Templates: time 0.004995/0.01615, allocations: 3.123 MB / 459 MB, free: 11.29 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.620074165984988]