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.0008806/0.0008809, allocations: 91.84 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.007534/0.007535, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004326, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 82.32 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001934/0.2273, allocations: 1.129 MB / 0.5891 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2284, allocations: 0.5102 MB / 0.5896 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.2285, allocations: 0 / 0.5896 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.2286, allocations: 4 kB / 0.5896 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.2287, allocations: 15.91 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.2296, allocations: 199.1 kB / 0.5898 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2298, allocations: 127.8 kB / 0.5899 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.2299, allocations: 8 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.23, allocations: 51.83 kB / 0.5899 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.2301, allocations: 39.84 kB / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2301, allocations: 8 kB / 0.59 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.2305, allocations: 175.8 kB / 0.5902 GB, free: 380 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.2306, allocations: 27.89 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.2307, allocations: 81.36 kB / 0.5903 GB, free: 264 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.2311, allocations: 227.7 kB / 0.5905 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2311, allocations: 0 / 0.5905 GB, free: 36 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2311, allocations: 0 / 0.5905 GB, free: 36 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2311, allocations: 0 / 0.5905 GB, free: 36 kB / 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.0006908/0.2318, allocations: 419.2 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2319, allocations: 8.031 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.232, allocations: 16.75 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.2322, allocations: 200.2 kB / 0.5911 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.2322, allocations: 16.36 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2323, allocations: 12.31 kB / 0.5911 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2324, allocations: 83.89 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2325, allocations: 4.188 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.2325, allocations: 3.938 kB / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2325, allocations: 0 / 0.5912 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.2326, allocations: 39.97 kB / 0.5913 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.2329, allocations: 238.4 kB / 0.5915 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.233, allocations: 77.23 kB / 0.5916 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.2331, allocations: 61.75 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2331, allocations: 0 / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.2333, allocations: 117 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.2333, allocations: 0 / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003681/0.2337, allocations: 181.4 kB / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.2338, allocations: 89.09 kB / 0.592 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2339, allocations: 147.9 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.234, allocations: 37.69 kB / 0.5922 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.2341, allocations: 100.5 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.2341, allocations: 39.44 kB / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.2342, allocations: 29.7 kB / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2343, allocations: 326.8 kB / 0.5926 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/0.2344, allocations: 39.98 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.2347, allocations: 199.4 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2348, allocations: 95.94 kB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2348, allocations: 4 kB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002441/0.2351, allocations: 157.4 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2351, allocations: 5.875 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.2351, allocations: 7.984 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2352, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.2352, allocations: 11.94 kB / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2353, allocations: 0 / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.2356, allocations: 91.75 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2356, allocations: 4 kB / 0.5932 GB, free: 12.91 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.0001474/0.2357, allocations: 145.8 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.2358, allocations: 15.75 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.2358, allocations: 16.7 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2358, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2358, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2358, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.236, allocations: 189.6 kB / 0.5936 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.236, allocations: 7.922 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.2361, allocations: 8 kB / 0.5936 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2361, allocations: 0 / 0.5936 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2361, allocations: 8 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2361, allocations: 4 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2361, allocations: 0 / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2364, allocations: 188.9 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2364, allocations: 96.8 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2365, allocations: 7.984 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.2365, allocations: 4 kB / 0.5939 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2366, allocations: 8.078 kB / 0.5939 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2366, allocations: 11.98 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.2367, allocations: 105.2 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2367, allocations: 4 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003228/0.237, allocations: 67.98 kB / 0.5941 GB, free: 11.94 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.0002939/0.2373, allocations: 163.2 kB / 0.5942 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.2376, allocations: 167.3 kB / 0.5944 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2376, allocations: 0 / 0.5944 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.2377, allocations: 47.92 kB / 0.5944 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.2379, allocations: 11.31 kB / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.2383, allocations: 254.5 kB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2387, allocations: 0.7043 MB / 0.5954 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.2387, allocations: 4.672 kB / 0.5954 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.2387, allocations: 11.44 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2388, allocations: 0 / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.005926/0.2447, allocations: 2.384 MB / 0.5977 GB, free: 8.156 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)