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.001313/0.001313, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001467/0.001467, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9898/0.9898, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.84 kB / 0.5049 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2101, allocations: 80.93 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003193/0.2133, allocations: 1.464 MB / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.2143, allocations: 0.5023 MB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.2144, allocations: 0 / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.138e-05/0.2145, allocations: 0 / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.2146, allocations: 11.92 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.2153, allocations: 212.2 kB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2155, allocations: 147.8 kB / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.2156, allocations: 8 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.2156, allocations: 55.84 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.2157, allocations: 39.89 kB / 0.5863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.2157, allocations: 8 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.216, allocations: 179.8 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.2161, allocations: 35.91 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.2162, allocations: 59.7 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.2165, allocations: 231.7 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2165, allocations: 4 kB / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2165, allocations: 0 / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2165, allocations: 0 / 0.5868 GB, free: 1.953 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.0005989/0.2171, allocations: 443 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2172, allocations: 12.02 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.2172, allocations: 12.84 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2175, allocations: 204.1 kB / 0.5874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2175, allocations: 12.31 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.2175, allocations: 12.38 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.2177, allocations: 87.89 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2177, allocations: 192 / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2177, allocations: 7.922 kB / 0.5875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2177, allocations: 0 / 0.5875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.2178, allocations: 39.97 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.2181, allocations: 234.5 kB / 0.5878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2183, allocations: 81.19 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.2184, allocations: 53.81 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2184, allocations: 0 / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.2186, allocations: 120.9 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.2186, allocations: 4 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003732/0.219, allocations: 185.4 kB / 0.5882 GB, free: 280 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.2191, allocations: 85.11 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2192, allocations: 151.9 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.2194, allocations: 33.7 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.2195, allocations: 104.5 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2195, allocations: 31.55 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.2196, allocations: 57.62 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2198, allocations: 330.8 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.2198, allocations: 39.98 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.2201, allocations: 203.2 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2202, allocations: 93.42 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2202, allocations: 0 / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002265/0.2205, allocations: 165.4 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2205, allocations: 8 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.2205, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2205, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.2206, allocations: 4 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2206, allocations: 4 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.2209, allocations: 75.75 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2209, allocations: 4.625 kB / 0.5895 GB, free: 14.79 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.0001168/0.221, allocations: 137.8 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.221, allocations: 15.84 kB / 0.5897 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2211, allocations: 12.7 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2211, allocations: 8 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2211, allocations: 0 / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2211, allocations: 0 / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2213, allocations: 197.5 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/0.2213, allocations: 7.938 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.2213, allocations: 4 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2213, allocations: 4 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2214, allocations: 4 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2214, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2214, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.2216, allocations: 181.7 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.2217, allocations: 96.8 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2217, allocations: 8.078 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.2217, allocations: 8 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.2218, allocations: 3.984 kB / 0.5902 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2218, allocations: 7.984 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.408e-05/0.2219, allocations: 117.8 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2219, allocations: 3.938 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002748/0.2222, allocations: 68 kB / 0.5904 GB, free: 13.82 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.0002404/0.2224, allocations: 164.6 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.2227, allocations: 175.4 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2227, allocations: 0 / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.2228, allocations: 43.97 kB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.223, allocations: 18.38 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.2234, allocations: 255.3 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2237, allocations: 0.704 MB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.2238, allocations: 12.66 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.2238, allocations: 11.44 kB / 0.5917 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2238, allocations: 0 / 0.5917 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.005785/0.2296, allocations: 2.476 MB / 0.5941 GB, free: 9.93 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)