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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001853/0.001854, allocations: 197.9 kB / 16.14 MB, free: 6.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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 68.39 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2125, allocations: 80.91 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003323/0.2159, allocations: 1.476 MB / 0.5851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.217, allocations: 0.5296 MB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.217, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.2171, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.2172, allocations: 11.92 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.2179, allocations: 195.1 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.2182, allocations: 135.7 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.2182, allocations: 4 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.2183, allocations: 51.89 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2184, allocations: 43.83 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.2185, allocations: 4 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.2188, allocations: 163.8 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2189, allocations: 39.89 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.219, allocations: 47.73 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2194, allocations: 227.7 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2195, allocations: 3.938 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2195, allocations: 0 / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2195, allocations: 0 / 0.5865 GB, free: 2.102 MB / 494.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.0007994/0.2203, allocations: 451 kB / 0.587 GB, free: 1.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.2203, allocations: 8.031 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.2204, allocations: 16.84 kB / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2207, allocations: 208.1 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.2208, allocations: 12.38 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.2208, allocations: 8.375 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.221, allocations: 83.89 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.221, allocations: 192 / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.221, allocations: 3.938 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2211, allocations: 0 / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.2212, allocations: 39.97 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.2215, allocations: 238.5 kB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2217, allocations: 81.17 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.2218, allocations: 53.81 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2218, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.2221, allocations: 120.9 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2222, allocations: 0 / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004163/0.2226, allocations: 189.4 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.2227, allocations: 85.09 kB / 0.5881 GB, free: 324 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2229, allocations: 152 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.2229, allocations: 33.7 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.223, allocations: 104.5 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.2231, allocations: 35.62 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2232, allocations: 53.69 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2234, allocations: 322.8 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2235, allocations: 39.98 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2237, allocations: 201.7 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2239, allocations: 97.36 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2239, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002555/0.2241, allocations: 169.3 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2242, allocations: 4 kB / 0.5892 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.2242, allocations: 11.98 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2242, allocations: 0 / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.2243, allocations: 8 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2243, allocations: 4 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.2246, allocations: 75.75 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2246, allocations: 4 kB / 0.5893 GB, free: 14.93 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.0001304/0.2248, allocations: 137.8 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2248, allocations: 15.84 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.2249, allocations: 16.64 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2249, allocations: 7.938 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2249, allocations: 0 / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2249, allocations: 4 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2251, allocations: 185.5 kB / 0.5897 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2251, allocations: 11.92 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.2251, allocations: 4 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2251, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2251, allocations: 4 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2251, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2252, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2254, allocations: 185.8 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.2255, allocations: 100.8 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2255, allocations: 3.984 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.2256, allocations: 4 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2256, allocations: 0 / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2256, allocations: 7.984 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.2257, allocations: 113 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2257, allocations: 0 / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003102/0.226, allocations: 67.98 kB / 0.5902 GB, free: 13.98 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.0002762/0.2263, allocations: 171.3 kB / 0.5903 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.2266, allocations: 167.2 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2266, allocations: 0 / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.2267, allocations: 47.92 kB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2269, allocations: 15.88 kB / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.2275, allocations: 245.2 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2278, allocations: 0.7043 MB / 0.5915 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.096e-05/0.2279, allocations: 12.66 kB / 0.5915 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.2279, allocations: 15.44 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2279, allocations: 0 / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.006019/0.234, allocations: 2.407 MB / 0.5938 GB, free: 10.16 MB / 0.4981 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)