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.0009877/0.0009877, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.00213, 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.0007263/0.0007263, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001762, 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 0.9665/0.9665, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.068, allocations: 53.66 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7722/0.7722, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2753/1.047, allocations: 49.13 MB / 448.6 MB, free: 5.914 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-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: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.98e-05, allocations: 2.312 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002591/0.00262, allocations: 1.509 MB / 451.4 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.003274, allocations: 479.1 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.003311, allocations: 1.688 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.836e-05/0.003369, allocations: 7.922 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.003422, allocations: 12.45 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008268/0.004248, allocations: 239.2 kB / 452.2 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004487, allocations: 148.4 kB / 452.3 MB, free: 2.312 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.004538, allocations: 12.62 kB / 452.3 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.004674, allocations: 79.33 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.004759, allocations: 44.58 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.004787, allocations: 8 kB / 452.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.005159, allocations: 195.7 kB / 452.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.005222, allocations: 28.48 kB / 452.7 MB, free: 1.965 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.005275, allocations: 28.48 kB / 452.7 MB, free: 1.938 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.005602, allocations: 205.8 kB / 452.9 MB, free: 1.738 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.005616, allocations: 0 / 452.9 MB, free: 1.738 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005618, allocations: 0 / 452.9 MB, free: 1.738 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.005627, allocations: 0 / 452.9 MB, free: 1.738 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.0005434/0.00617, allocations: 383.6 kB / 453.3 MB, free: 1.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.006206, allocations: 12.03 kB / 453.3 MB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.006261, allocations: 17.64 kB / 453.3 MB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006444, allocations: 146.3 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.00646, allocations: 6.344 kB / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.006487, allocations: 12.38 kB / 453.5 MB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006595, allocations: 62.77 kB / 453.5 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006603, allocations: 192 / 453.5 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.006611, allocations: 384 / 453.5 MB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006621, allocations: 7.359 kB / 453.5 MB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.006664, allocations: 29.52 kB / 453.5 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.006798, allocations: 88.3 kB / 453.6 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.006912, allocations: 53.95 kB / 453.7 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.006952, allocations: 38.94 kB / 453.7 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.006958, allocations: 0 / 453.7 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.007092, allocations: 87.97 kB / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.007093, allocations: 2.312 kB / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001428/0.007236, allocations: 92.83 kB / 453.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.007288, allocations: 89.05 kB / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.007369, allocations: 145 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.007393, allocations: 33.7 kB / 454.2 MB, free: 308 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.007425, allocations: 92.5 kB / 454.3 MB, free: 208 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.007464, allocations: 40.61 kB / 454.3 MB, free: 168 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.007514, allocations: 49.69 kB / 454.3 MB, free: 112 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003743/0.007888, allocations: 335.4 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.00791, allocations: 10.83 kB / 454.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.008127, allocations: 0.535 MB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.008202, allocations: 75.12 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008205, allocations: 0 / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001152/0.00832, allocations: 94.08 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.008334, allocations: 7.938 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.008356, allocations: 4 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.008372, allocations: 0.8438 kB / 455.4 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.008456, allocations: 19.98 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008461, allocations: 4.562 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.00857, allocations: 37.23 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.00858, allocations: 8.531 kB / 455.5 MB, free: 14.82 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.414e-05/0.008664, allocations: 129.8 kB / 455.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.008676, allocations: 4 kB / 455.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.008705, allocations: 16.77 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008707, allocations: 1.625 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008709, allocations: 0 / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008714, allocations: 7.938 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.905e-05/0.008803, allocations: 98.69 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008805, allocations: 0 / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.008828, allocations: 9.438 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.008839, allocations: 7.953 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.008843, allocations: 5.531 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.008848, allocations: 0 / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00885, allocations: 4.781 kB / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008851, allocations: 0 / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.00896, allocations: 118.9 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008976, allocations: 4 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.008999, allocations: 4 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.009029, allocations: 3.984 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.009035, allocations: 4.844 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.009061, allocations: 31.06 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009061, allocations: 0.7812 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.009256, allocations: 75.81 kB / 456 MB, free: 14.25 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.000196/0.009452, allocations: 165.7 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.009593, allocations: 123.8 kB / 456.3 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.009601, allocations: 0 / 456.3 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.009637, allocations: 33.41 kB / 456.3 MB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.248e-05/0.009729, allocations: 15.98 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.01018, allocations: 206.3 kB / 456.5 MB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01022, allocations: 71.2 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.01026, allocations: 10.52 kB / 456.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.01034, allocations: 79.98 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01034, allocations: 0.625 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of Templates: time 0.00487/0.01521, allocations: 3.126 MB / 459.8 MB, free: 10.65 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6157714324072003]