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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 105.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9445/0.9445, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.05 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1821, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002877/0.1851, allocations: 1.402 MB / 0.6617 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1861, allocations: 0.5021 MB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1862, allocations: 4 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.913e-05/0.1863, allocations: 3.938 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.1864, allocations: 15.86 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.1874, allocations: 228 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1877, allocations: 155.7 kB / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.1877, allocations: 4 kB / 0.6626 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.1878, allocations: 59.91 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.1879, allocations: 39.83 kB / 0.6626 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.188, allocations: 15.98 kB / 0.6627 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.1883, allocations: 159.8 kB / 0.6628 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.1884, allocations: 35.91 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.1885, allocations: 55.77 kB / 0.6629 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1889, allocations: 235.4 kB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1889, allocations: 0 / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1889, allocations: 4 kB / 0.6631 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1889, allocations: 4 kB / 0.6631 GB, free: 7.402 MB / 0.4981 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.0007009/0.1896, allocations: 451 kB / 0.6636 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1897, allocations: 8.031 kB / 0.6636 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.1898, allocations: 12.84 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.19, allocations: 204.1 kB / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1901, allocations: 8.375 kB / 0.6638 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1901, allocations: 12.38 kB / 0.6638 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1903, allocations: 87.88 kB / 0.6639 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1903, allocations: 192 / 0.6639 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1903, allocations: 7.938 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1903, allocations: 0 / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.1904, allocations: 35.98 kB / 0.6639 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.1907, allocations: 230.5 kB / 0.6641 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1909, allocations: 89.17 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.191, allocations: 53.8 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.191, allocations: 4 kB / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1913, allocations: 105 kB / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1913, allocations: 0 / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003826/0.1917, allocations: 205.2 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1917, allocations: 81.11 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1919, allocations: 155.6 kB / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1919, allocations: 33.7 kB / 0.6648 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.192, allocations: 100.5 kB / 0.6649 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.1921, allocations: 39.55 kB / 0.665 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.1922, allocations: 45.7 kB / 0.665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1923, allocations: 322.8 kB / 0.6653 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.1924, allocations: 47.98 kB / 0.6654 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1926, allocations: 199.3 kB / 0.6656 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1927, allocations: 96.88 kB / 0.6657 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1928, allocations: 0 / 0.6657 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002544/0.193, allocations: 169.3 kB / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.193, allocations: 4 kB / 0.6658 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.1931, allocations: 4 kB / 0.6658 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1931, allocations: 0 / 0.6658 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.1932, allocations: 8 kB / 0.6658 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1932, allocations: 0 / 0.6658 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1935, allocations: 83.73 kB / 0.6659 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1935, allocations: 8 kB / 0.6659 GB, free: 4.23 MB / 0.4981 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 0.0001306/0.1936, allocations: 138.8 kB / 0.666 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1937, allocations: 19.83 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1937, allocations: 12.72 kB / 0.6661 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1937, allocations: 0 / 0.6661 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1937, allocations: 4 kB / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1937, allocations: 0 / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1939, allocations: 193.5 kB / 0.6663 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1939, allocations: 3.938 kB / 0.6663 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.1939, allocations: 8 kB / 0.6663 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.194, allocations: 0 / 0.6663 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.194, allocations: 4 kB / 0.6663 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.194, allocations: 4 kB / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.194, allocations: 0 / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1942, allocations: 177.8 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.1943, allocations: 100.9 kB / 0.6666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1943, allocations: 4 kB / 0.6666 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.1943, allocations: 0 / 0.6666 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1944, allocations: 11.98 kB / 0.6666 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1944, allocations: 8 kB / 0.6666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.1945, allocations: 113 kB / 0.6667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1945, allocations: 0 / 0.6667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003106/0.1948, allocations: 68 kB / 0.6667 GB, free: 3.273 MB / 0.4981 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.0002484/0.1951, allocations: 167.2 kB / 0.6669 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.1954, allocations: 164 kB / 0.6671 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1954, allocations: 7.938 kB / 0.6671 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.1955, allocations: 47.92 kB / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1956, allocations: 15.88 kB / 0.6671 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.1961, allocations: 253.3 kB / 0.6674 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1964, allocations: 0.7041 MB / 0.6681 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1964, allocations: 15.44 kB / 0.6681 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1964, allocations: 4 kB / 0.6681 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.004438/0.2009, allocations: 2.445 MB / 0.6705 GB, free: 15.4 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)