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.0007403/0.0007403, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001771, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007267/0.0007267, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000988/0.001715, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.116/1.116, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08911/1.205, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7863/0.7863, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2659/1.052, allocations: 49.05 MB / 447.6 MB, free: 6.688 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 1.282e-06/1.282e-06, allocations: 0 / 448.8 MB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.281e-05, allocations: 5.672 kB / 448.8 MB, free: 5.441 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002019/0.002042, allocations: 1.503 MB / 450.3 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.002558, allocations: 490.5 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.002586, allocations: 0.6562 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.305e-05/0.002639, allocations: 7.938 kB / 450.8 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.002684, allocations: 14.08 kB / 450.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.003112, allocations: 225.6 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003266, allocations: 150.4 kB / 451.2 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.003303, allocations: 10.16 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.003401, allocations: 87.66 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.003456, allocations: 30.69 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.003477, allocations: 8 kB / 451.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.003784, allocations: 203.7 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.003827, allocations: 20.88 kB / 451.6 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.00387, allocations: 29.91 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.004093, allocations: 207.4 kB / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.004107, allocations: 0 / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004108, allocations: 0 / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.004122, allocations: 0 / 451.8 MB, free: 2.547 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.0004449/0.004567, allocations: 391.3 kB / 452.2 MB, free: 2.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.004596, allocations: 8.031 kB / 452.2 MB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.004631, allocations: 12.92 kB / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004763, allocations: 142.2 kB / 452.3 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.004774, allocations: 4.375 kB / 452.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.00479, allocations: 19.66 kB / 452.4 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.004873, allocations: 66.7 kB / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00488, allocations: 192 / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004887, allocations: 4.375 kB / 452.4 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004892, allocations: 0.9375 kB / 452.4 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.004928, allocations: 25.52 kB / 452.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.005042, allocations: 96.34 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/0.005097, allocations: 46.73 kB / 452.6 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.005122, allocations: 26.7 kB / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.005129, allocations: 4 kB / 452.6 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.00524, allocations: 101.9 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 7.41e-07/0.005241, allocations: 0 / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001321/0.005373, allocations: 87.25 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.005419, allocations: 89.09 kB / 452.9 MB, free: 1.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.005491, allocations: 144.8 kB / 453 MB, free: 1.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.005511, allocations: 34.58 kB / 453.1 MB, free: 1.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.005676, allocations: 96.5 kB / 453.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.005709, allocations: 37 kB / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.005759, allocations: 49.67 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.005833, allocations: 334.7 kB / 453.6 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.005852, allocations: 11.58 kB / 453.6 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.00606, allocations: 0.5441 MB / 454.1 MB, free: 15.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.00612, allocations: 71.31 kB / 454.2 MB, free: 15.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.006123, allocations: 0 / 454.2 MB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 8.54e-05/0.006208, allocations: 95.31 kB / 454.3 MB, free: 15.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.006218, allocations: 8.531 kB / 454.3 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.006233, allocations: 0 / 454.3 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.006242, allocations: 6.016 kB / 454.3 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.006308, allocations: 23.92 kB / 454.3 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006312, allocations: 3.938 kB / 454.3 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.006407, allocations: 37.8 kB / 454.4 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.006412, allocations: 0 / 454.4 MB, free: 15.63 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 6.346e-05/0.006475, allocations: 127.4 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.006485, allocations: 7.984 kB / 454.5 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.006509, allocations: 17.78 kB / 454.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.00651, allocations: 0 / 454.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006512, allocations: 3.938 kB / 454.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006516, allocations: 4.562 kB / 454.5 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.351e-05/0.006579, allocations: 94.34 kB / 454.6 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00658, allocations: 0 / 454.6 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.006599, allocations: 13.42 kB / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.006608, allocations: 7.953 kB / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006609, allocations: 0 / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.006614, allocations: 0 / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006614, allocations: 0.7812 kB / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006615, allocations: 4 kB / 454.7 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.006697, allocations: 114.8 kB / 454.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.00671, allocations: 4 kB / 454.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.006728, allocations: 3.984 kB / 454.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.006755, allocations: 11.98 kB / 454.8 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.00676, allocations: 5.453 kB / 454.8 MB, free: 15.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.00678, allocations: 22.73 kB / 454.8 MB, free: 15.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00678, allocations: 0.9062 kB / 454.8 MB, free: 15.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.006938, allocations: 75.75 kB / 454.9 MB, free: 15.08 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.0001595/0.007098, allocations: 173.3 kB / 455.1 MB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.007218, allocations: 116.9 kB / 455.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.007225, allocations: 9.219 kB / 455.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.007248, allocations: 21.88 kB / 455.2 MB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.307e-05/0.007321, allocations: 22.17 kB / 455.2 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.007678, allocations: 206.7 kB / 455.4 MB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.00771, allocations: 67.34 kB / 455.5 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.007741, allocations: 13.34 kB / 455.5 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.007815, allocations: 71.98 kB / 455.6 MB, free: 14.32 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007816, allocations: 0 / 455.6 MB, free: 14.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004345/0.01216, allocations: 3.118 MB / 458.7 MB, free: 11.48 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.6985171353444457]