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.0009551/0.0009551, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007023/0.007023, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8137/0.8137, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003429, allocations: 9.375 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5144, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001775/0.5162, allocations: 1.132 MB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.5174, allocations: 0.5096 MB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.5175, allocations: 0.6562 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.5176, allocations: 11.86 kB / 0.5853 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.5177, allocations: 12.64 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.5186, allocations: 190.7 kB / 0.5855 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.5189, allocations: 141 kB / 0.5856 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.5189, allocations: 6.281 kB / 0.5856 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.519, allocations: 48.39 kB / 0.5857 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.5191, allocations: 42.92 kB / 0.5857 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.5192, allocations: 4.781 kB / 0.5857 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.5196, allocations: 163.1 kB / 0.5859 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.5196, allocations: 31.38 kB / 0.5859 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.5198, allocations: 80 kB / 0.586 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.5202, allocations: 219.8 kB / 0.5862 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.5202, allocations: 1.594 kB / 0.5862 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5202, allocations: 4 kB / 0.5862 GB, free: 2.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.5202, allocations: 0 / 0.5862 GB, free: 2.496 MB / 430.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.0005724/0.5208, allocations: 427.5 kB / 0.5866 GB, free: 2.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5208, allocations: 8.812 kB / 0.5866 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.5209, allocations: 17.28 kB / 0.5866 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.5211, allocations: 203.5 kB / 0.5868 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5211, allocations: 10.31 kB / 0.5868 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.5211, allocations: 13.38 kB / 0.5868 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.5213, allocations: 87.42 kB / 0.5869 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5213, allocations: 0.875 kB / 0.5869 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5214, allocations: 4.625 kB / 0.5869 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5214, allocations: 0.9062 kB / 0.5869 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.5215, allocations: 40.88 kB / 0.587 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.5217, allocations: 231.6 kB / 0.5872 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5218, allocations: 84.7 kB / 0.5873 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.5219, allocations: 53.3 kB / 0.5873 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5219, allocations: 2.172 kB / 0.5873 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.5222, allocations: 109.6 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5222, allocations: 0 / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003817/0.5226, allocations: 190 kB / 0.5876 GB, free: 1.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.5226, allocations: 83.34 kB / 0.5877 GB, free: 1.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5227, allocations: 154.5 kB / 0.5878 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5228, allocations: 34.91 kB / 0.5879 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.5228, allocations: 104.6 kB / 0.588 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.5229, allocations: 39.83 kB / 0.588 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.5229, allocations: 27.11 kB / 0.588 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.523, allocations: 328 kB / 0.5883 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.5231, allocations: 37.53 kB / 0.5884 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.5233, allocations: 199.9 kB / 0.5886 GB, free: 404 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.5234, allocations: 96.67 kB / 0.5887 GB, free: 352 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5234, allocations: 1.031 kB / 0.5887 GB, free: 352 kB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002338/0.5237, allocations: 166.7 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5237, allocations: 5.5 kB / 0.5888 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.5237, allocations: 6.922 kB / 0.5888 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5238, allocations: 1.156 kB / 0.5888 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.5238, allocations: 12.36 kB / 0.5888 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5239, allocations: 6.719 kB / 0.5888 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.5242, allocations: 89.67 kB / 0.5889 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5242, allocations: 3.5 kB / 0.5889 GB, free: 248 kB / 430.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 9.501e-05/0.5243, allocations: 130.6 kB / 0.5891 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.5244, allocations: 16.84 kB / 0.5891 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.5244, allocations: 13.34 kB / 0.5891 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5244, allocations: 5.438 kB / 0.5891 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5244, allocations: 9.922 kB / 0.5891 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5244, allocations: 5.406 kB / 0.5891 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.5246, allocations: 196.5 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5246, allocations: 4.875 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.5247, allocations: 6.75 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5247, allocations: 1.125 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5247, allocations: 3.297 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5247, allocations: 1.094 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5247, allocations: 0 / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.525, allocations: 189.2 kB / 0.5895 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.525, allocations: 88.58 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.525, allocations: 6.422 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.5251, allocations: 7.594 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5251, allocations: 6.766 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5252, allocations: 3.359 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.5253, allocations: 119.7 kB / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5253, allocations: 0.7188 kB / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000342/0.5256, allocations: 76.33 kB / 0.5898 GB, free: 15.53 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.0002577/0.5259, allocations: 157 kB / 0.5899 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.5262, allocations: 162 kB / 0.5901 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5262, allocations: 0 / 0.5901 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.5263, allocations: 44.41 kB / 0.5901 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.5264, allocations: 11.39 kB / 0.5901 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.5269, allocations: 252.8 kB / 0.5904 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.5272, allocations: 0.71 MB / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.5272, allocations: 7.578 kB / 0.5911 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.5273, allocations: 17.53 kB / 0.5911 GB, free: 14.41 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5273, allocations: 0 / 0.5911 GB, free: 14.41 MB / 446.1 MB Notification: Performance of Templates: time 0.006386/0.5337, allocations: 2.383 MB / 0.5934 GB, free: 14.2 MB / 446.1 MB 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)