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.001556/0.001555, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001247/0.001247, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8229/0.8229, allocations: 135.2 MB / 426.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.91 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 80.92 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002238/0.3376, allocations: 1.398 MB / 0.5864 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.3383, allocations: 0.4991 MB / 0.5869 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.3383, allocations: 5.125 kB / 0.5869 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.222e-05/0.3384, allocations: 9.047 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.3385, allocations: 11.8 kB / 0.5869 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.3391, allocations: 230.6 kB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3393, allocations: 141.4 kB / 0.5873 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3394, allocations: 4.406 kB / 0.5873 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.3394, allocations: 62.83 kB / 0.5874 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3395, allocations: 42.77 kB / 0.5874 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.3395, allocations: 10.09 kB / 0.5874 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.3398, allocations: 165.5 kB / 0.5876 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3398, allocations: 39.92 kB / 0.5876 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.3399, allocations: 56 kB / 0.5877 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3402, allocations: 225.7 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3402, allocations: 0.5625 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3402, allocations: 1.062 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3402, allocations: 0.6875 kB / 0.5879 GB, free: 23.23 MB / 446.1 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.0004819/0.3407, allocations: 451.7 kB / 0.5883 GB, free: 22.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3407, allocations: 11.3 kB / 0.5883 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.3408, allocations: 13 kB / 0.5883 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.341, allocations: 206.2 kB / 0.5885 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.341, allocations: 14.06 kB / 0.5885 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.341, allocations: 14.64 kB / 0.5885 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3412, allocations: 91.28 kB / 0.5886 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3412, allocations: 0.8125 kB / 0.5886 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3412, allocations: 9.812 kB / 0.5886 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3412, allocations: 0 / 0.5886 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.3413, allocations: 36.11 kB / 0.5887 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3415, allocations: 241.7 kB / 0.5889 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.3416, allocations: 75.72 kB / 0.589 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.3416, allocations: 58.03 kB / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.3417, allocations: 1.656 kB / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3419, allocations: 114.2 kB / 0.5891 GB, free: 22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3419, allocations: 1.469 kB / 0.5892 GB, free: 22 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002992/0.3422, allocations: 186 kB / 0.5893 GB, free: 21.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3422, allocations: 91.25 kB / 0.5894 GB, free: 21.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3423, allocations: 150.3 kB / 0.5896 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3423, allocations: 37.7 kB / 0.5896 GB, free: 21.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.3424, allocations: 102.5 kB / 0.5897 GB, free: 21.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3424, allocations: 39.45 kB / 0.5897 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.3425, allocations: 49.7 kB / 0.5898 GB, free: 21.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.3425, allocations: 322.8 kB / 0.5901 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.3426, allocations: 40.89 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3427, allocations: 201 kB / 0.5903 GB, free: 20.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.3428, allocations: 97.58 kB / 0.5904 GB, free: 20.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3428, allocations: 0 / 0.5904 GB, free: 20.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001672/0.343, allocations: 169.4 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.343, allocations: 4 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3431, allocations: 4.5 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3431, allocations: 0.625 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.3432, allocations: 8 kB / 0.5906 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3432, allocations: 5.281 kB / 0.5906 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.3434, allocations: 74.48 kB / 0.5907 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-06/0.3434, allocations: 4 kB / 0.5907 GB, free: 20.46 MB / 446.1 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.454e-05/0.3435, allocations: 137.2 kB / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.3435, allocations: 11.84 kB / 0.5908 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.3436, allocations: 20.7 kB / 0.5908 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3436, allocations: 0 / 0.5908 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3436, allocations: 0 / 0.5908 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3436, allocations: 8.078 kB / 0.5908 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.3437, allocations: 197.5 kB / 0.591 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3437, allocations: 4.719 kB / 0.591 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.3437, allocations: 8 kB / 0.591 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3437, allocations: 0.6562 kB / 0.591 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.3438, allocations: 1.156 kB / 0.591 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3438, allocations: 3.938 kB / 0.591 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3438, allocations: 4 kB / 0.591 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3439, allocations: 179.8 kB / 0.5912 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.344, allocations: 96.84 kB / 0.5913 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.344, allocations: 13.59 kB / 0.5913 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.344, allocations: 0 / 0.5913 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3441, allocations: 7.984 kB / 0.5913 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3441, allocations: 7.938 kB / 0.5913 GB, free: 19.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.3441, allocations: 115.9 kB / 0.5914 GB, free: 19.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3441, allocations: 1.219 kB / 0.5915 GB, free: 19.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3444, allocations: 67.94 kB / 0.5915 GB, free: 19.5 MB / 446.1 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.0001873/0.3446, allocations: 166.7 kB / 0.5917 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3448, allocations: 167.3 kB / 0.5918 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3448, allocations: 0 / 0.5918 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.3449, allocations: 47.3 kB / 0.5919 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.345, allocations: 16.11 kB / 0.5919 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3453, allocations: 250.5 kB / 0.5921 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3455, allocations: 0.7101 MB / 0.5928 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.3455, allocations: 19.44 kB / 0.5928 GB, free: 18.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3455, allocations: 0 / 0.5928 GB, free: 18.07 MB / 446.1 MB Notification: Performance of Templates: time 0.003313/0.3488, allocations: 2.431 MB / 0.5952 GB, free: 15.72 MB / 446.1 MB 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)