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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001522/0.001522, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.001536/0.001536, allocations: 183 kB / 17.34 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8321/0.8321, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 70.61 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1936, allocations: 80.94 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.004417/0.198, allocations: 1.394 MB / 0.6667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1997, allocations: 0.5022 MB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.1997, allocations: 3.938 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1998, allocations: 11.92 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.856e-05/0.1999, allocations: 7.922 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2012, allocations: 231.1 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.2015, allocations: 143.7 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.2016, allocations: 4 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2017, allocations: 55.89 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2018, allocations: 51.77 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.2019, allocations: 8 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.2023, allocations: 167.8 kB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2024, allocations: 39.89 kB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2025, allocations: 47.78 kB / 0.6679 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.2031, allocations: 235.2 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2031, allocations: 4 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2031, allocations: 0 / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2031, allocations: 0 / 0.6681 GB, free: 2.863 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.0009322/0.204, allocations: 458.6 kB / 0.6686 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2041, allocations: 9.109 kB / 0.6686 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.2042, allocations: 20.84 kB / 0.6686 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.2045, allocations: 204.2 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2045, allocations: 8.375 kB / 0.6688 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2046, allocations: 12.38 kB / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2048, allocations: 79.94 kB / 0.6689 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2049, allocations: 12.17 kB / 0.6689 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.2049, allocations: 3.938 kB / 0.6689 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2049, allocations: 0 / 0.6689 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.205, allocations: 39.92 kB / 0.669 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.2055, allocations: 234.5 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.2057, allocations: 69.2 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.2059, allocations: 57.84 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2059, allocations: 0 / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.2063, allocations: 109 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.2063, allocations: 0 / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005579/0.2069, allocations: 197.3 kB / 0.6696 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.207, allocations: 93.09 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2071, allocations: 148 kB / 0.6698 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.2071, allocations: 37.7 kB / 0.6699 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.2072, allocations: 100.5 kB / 0.67 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.2073, allocations: 35.69 kB / 0.67 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.2074, allocations: 49.7 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2075, allocations: 326.8 kB / 0.6704 GB, free: 360 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.2076, allocations: 39.98 kB / 0.6704 GB, free: 320 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2078, allocations: 209.1 kB / 0.6706 GB, free: 56 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.208, allocations: 97.69 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.208, allocations: 0 / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002467/0.2082, allocations: 169.4 kB / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2083, allocations: 4 kB / 0.6708 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.2083, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2083, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.2084, allocations: 11.98 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2084, allocations: 3.938 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.2087, allocations: 71.86 kB / 0.6709 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2087, allocations: 4 kB / 0.6709 GB, free: 15.68 MB / 0.5137 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.0001303/0.2088, allocations: 137.8 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2088, allocations: 19.84 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2089, allocations: 16.66 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2089, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2089, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2089, allocations: 4 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2091, allocations: 197.5 kB / 0.6713 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2091, allocations: 3.938 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.2091, allocations: 4 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2091, allocations: 4.094 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2091, allocations: 3.984 kB / 0.6713 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2091, allocations: 7.938 kB / 0.6713 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2091, allocations: 11.98 kB / 0.6713 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2094, allocations: 173.9 kB / 0.6715 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.2094, allocations: 89 kB / 0.6716 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.2095, allocations: 4 kB / 0.6716 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.2095, allocations: 4 kB / 0.6716 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2096, allocations: 7.984 kB / 0.6716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.2096, allocations: 8 kB / 0.6716 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.524e-05/0.2097, allocations: 113.5 kB / 0.6717 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2097, allocations: 4 kB / 0.6717 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003214/0.21, allocations: 75.8 kB / 0.6718 GB, free: 14.71 MB / 0.5137 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.000307/0.2103, allocations: 159 kB / 0.6719 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.2106, allocations: 167.2 kB / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2106, allocations: 0 / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2107, allocations: 35.98 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2108, allocations: 17.66 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.2113, allocations: 256.8 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2117, allocations: 0.708 MB / 0.6731 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.2117, allocations: 11.44 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.2117, allocations: 3.938 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.005058/0.2168, allocations: 2.434 MB / 0.6755 GB, free: 10.88 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)