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.008444/0.008444, allocations: 101 kB / 15.73 MB, free: 5.59 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.001371/0.001371, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.59 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1918, allocations: 80.92 MB / 0.6646 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002892/0.1947, allocations: 1.403 MB / 0.666 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.1957, allocations: 0.4943 MB / 0.6665 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.1957, allocations: 4 kB / 0.6665 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.1958, allocations: 7.922 kB / 0.6665 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.1959, allocations: 7.938 kB / 0.6665 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.1967, allocations: 238.9 kB / 0.6667 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1969, allocations: 151.8 kB / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.197, allocations: 7.984 kB / 0.6669 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.197, allocations: 55.84 kB / 0.6669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1971, allocations: 35.84 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1972, allocations: 15.98 kB / 0.667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1974, allocations: 163.8 kB / 0.6671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1975, allocations: 35.91 kB / 0.6672 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.1976, allocations: 55.78 kB / 0.6672 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.1979, allocations: 231.5 kB / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1979, allocations: 0 / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.414e-06/0.198, allocations: 4 kB / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.198, allocations: 0 / 0.6674 GB, free: 3.031 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.0006666/0.1986, allocations: 454.9 kB / 0.6679 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1987, allocations: 9.109 kB / 0.6679 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.1988, allocations: 12.84 kB / 0.6679 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.199, allocations: 214.2 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.199, allocations: 8.375 kB / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1991, allocations: 16.38 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1993, allocations: 75.89 kB / 0.6682 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1993, allocations: 192 / 0.6682 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1993, allocations: 11.94 kB / 0.6682 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1993, allocations: 0 / 0.6682 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1994, allocations: 43.91 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1998, allocations: 230.4 kB / 0.6685 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1999, allocations: 81.23 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2, allocations: 49.81 kB / 0.6686 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2001, allocations: 7.938 kB / 0.6686 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.2004, allocations: 109.1 kB / 0.6687 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.2004, allocations: 3.984 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004528/0.2008, allocations: 193.8 kB / 0.6689 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.2009, allocations: 85.09 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2011, allocations: 153.7 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2011, allocations: 33.7 kB / 0.6691 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.2012, allocations: 96.52 kB / 0.6692 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.2013, allocations: 43.55 kB / 0.6693 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.2014, allocations: 45.7 kB / 0.6693 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.2016, allocations: 330.8 kB / 0.6696 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.2017, allocations: 39.98 kB / 0.6697 GB, free: 488 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.202, allocations: 208.4 kB / 0.6699 GB, free: 224 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2022, allocations: 93.64 kB / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2022, allocations: 0 / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002883/0.2025, allocations: 165.3 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2025, allocations: 4 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-05/0.2026, allocations: 7.984 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2026, allocations: 4 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.2027, allocations: 15.94 kB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2027, allocations: 0 / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.203, allocations: 75.84 kB / 0.6702 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2031, allocations: 8 kB / 0.6702 GB, free: 15.84 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.0001641/0.2032, allocations: 133.8 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.2033, allocations: 15.75 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.2033, allocations: 16.66 kB / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2033, allocations: 0 / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.2033, allocations: 7.984 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2033, allocations: 0 / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2036, allocations: 181.6 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2036, allocations: 7.938 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.2036, allocations: 15.92 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2036, allocations: 0 / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2036, allocations: 4 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2037, allocations: 7.938 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2037, allocations: 0 / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.2039, allocations: 177.8 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.204, allocations: 96.89 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2041, allocations: 4 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.2041, allocations: 3.984 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.2042, allocations: 8 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2042, allocations: 4 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.2043, allocations: 113.3 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.384e-06/0.2043, allocations: 0 / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003208/0.2046, allocations: 79.92 kB / 0.6711 GB, free: 14.88 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.000309/0.2049, allocations: 170.5 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.2053, allocations: 163.2 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2053, allocations: 0 / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.2053, allocations: 43.98 kB / 0.6714 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2055, allocations: 11.94 kB / 0.6714 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.2061, allocations: 223.3 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2065, allocations: 0.7041 MB / 0.6723 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.2065, allocations: 12.94 kB / 0.6724 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.2065, allocations: 15.44 kB / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2065, allocations: 0 / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.005797/0.2123, allocations: 2.513 MB / 0.6748 GB, free: 11 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)