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.001649/0.001649, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001537/0.001537, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9703/0.9703, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.7767/0.7767, allocations: 154.6 MB / 414.8 MB, free: 0.4922 MB / 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. " [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 1.453e-06/1.453e-06, allocations: 0 / 479.9 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.995e-05, allocations: 4.422 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001786/0.001806, allocations: 1.456 MB / 481.4 MB, free: 5.488 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.002407, allocations: 474.8 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.002437, allocations: 4.656 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.727e-05/0.002504, allocations: 4.5 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.00257, allocations: 20.75 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.003156, allocations: 248 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.00332, allocations: 142.7 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.003355, allocations: 5.156 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.003432, allocations: 82.11 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.00349, allocations: 34.62 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.003511, allocations: 9.938 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.003755, allocations: 191.7 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.003804, allocations: 35.91 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.003853, allocations: 39.91 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.004084, allocations: 247.4 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004086, allocations: 0.5625 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004087, allocations: 1.062 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.00409, allocations: 0 / 482.9 MB, free: 4.012 MB / 442.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.0003544/0.004445, allocations: 351.9 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.004473, allocations: 8.031 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.004506, allocations: 14.27 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.004653, allocations: 145.5 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004667, allocations: 13.45 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.004686, allocations: 12.31 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.004767, allocations: 67.39 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.004774, allocations: 1.094 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.00478, allocations: 384 / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004785, allocations: 384 / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.004816, allocations: 32.2 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.724e-05/0.004913, allocations: 92.62 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.00497, allocations: 53.12 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.004998, allocations: 33.98 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.005004, allocations: 0 / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.067e-05/0.005094, allocations: 88.7 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 7.81e-07/0.005095, allocations: 1.031 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001356/0.005231, allocations: 99.22 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.005279, allocations: 85.61 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.005354, allocations: 149.9 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.005375, allocations: 34.77 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.00541, allocations: 92.5 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.005441, allocations: 39.67 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.005493, allocations: 46.31 kB / 484.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003246/0.005818, allocations: 331.4 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.005839, allocations: 14.81 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.006026, allocations: 0.5383 MB / 485.2 MB, free: 1.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.00609, allocations: 66.86 kB / 485.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.006094, allocations: 8.625 kB / 485.3 MB, free: 1.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.498e-05/0.006189, allocations: 95.88 kB / 485.4 MB, free: 1.191 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.0062, allocations: 7.938 kB / 485.4 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.006215, allocations: 4.625 kB / 485.4 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006226, allocations: 0 / 485.4 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.00629, allocations: 16.58 kB / 485.4 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006294, allocations: 8.75 kB / 485.4 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.006385, allocations: 29.7 kB / 485.5 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006391, allocations: 4 kB / 485.5 MB, free: 1.125 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.204e-05/0.006473, allocations: 135.8 kB / 485.6 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.006485, allocations: 8 kB / 485.6 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.006506, allocations: 13.77 kB / 485.6 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006509, allocations: 4 kB / 485.6 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.00651, allocations: 0 / 485.6 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.006514, allocations: 4.656 kB / 485.6 MB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.973e-05/0.006583, allocations: 89.75 kB / 485.7 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006586, allocations: 5.219 kB / 485.7 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.006602, allocations: 4 kB / 485.7 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006604, allocations: 0 / 485.7 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.00661, allocations: 8.781 kB / 485.7 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006611, allocations: 0 / 485.7 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006612, allocations: 1.031 kB / 485.7 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.678e-05/0.006699, allocations: 114.3 kB / 485.8 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.006707, allocations: 7.953 kB / 485.8 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.00672, allocations: 1.906 kB / 485.8 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.00674, allocations: 8 kB / 485.9 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.006766, allocations: 7.922 kB / 485.9 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.00677, allocations: 4 kB / 485.9 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.006793, allocations: 28.78 kB / 485.9 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006793, allocations: 0.75 kB / 485.9 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.006978, allocations: 83.8 kB / 486 MB, free: 0.5586 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.0001656/0.007143, allocations: 162.1 kB / 486.1 MB, free: 408 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.007267, allocations: 116.2 kB / 486.3 MB, free: 276 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.007269, allocations: 0 / 486.3 MB, free: 276 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.007297, allocations: 29.88 kB / 486.3 MB, free: 244 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.884e-05/0.007366, allocations: 9.969 kB / 486.3 MB, free: 236 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.007611, allocations: 201.4 kB / 486.5 MB, free: 4 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.007654, allocations: 63.34 kB / 486.5 MB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.007684, allocations: 14.12 kB / 486.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.007755, allocations: 71.36 kB / 486.6 MB, free: 15.84 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007755, allocations: 0 / 486.6 MB, free: 15.84 MB / 458.7 MB Notification: Performance of Templates: time 0.00462/0.01238, allocations: 2.862 MB / 489.5 MB, free: 13.24 MB / 458.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.5749072013422847]