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.001354/0.001354, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001462/0.001462, allocations: 187 kB / 17.34 MB, free: 5.742 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 / 241 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.8392/0.8392, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 69.28 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1997, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003736/0.2035, allocations: 1.413 MB / 0.6666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2048, allocations: 498.3 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.2049, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2051, allocations: 11.92 kB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.2052, allocations: 11.92 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2063, allocations: 239 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.2066, allocations: 147.7 kB / 0.6675 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.2067, allocations: 7.984 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2068, allocations: 55.89 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2069, allocations: 43.83 kB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.207, allocations: 12 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.2074, allocations: 167.8 kB / 0.6678 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.2075, allocations: 39.88 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2076, allocations: 47.8 kB / 0.6679 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.2082, allocations: 239.4 kB / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2082, allocations: 0 / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.497e-06/0.2082, allocations: 0 / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2083, allocations: 0 / 0.6681 GB, free: 2.938 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.0009467/0.2092, allocations: 454.9 kB / 0.6685 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.2093, allocations: 9.109 kB / 0.6685 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.2094, allocations: 12.84 kB / 0.6686 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.2097, allocations: 204.1 kB / 0.6687 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2098, allocations: 8.359 kB / 0.6688 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2098, allocations: 16.38 kB / 0.6688 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.21, allocations: 79.95 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2101, allocations: 4.188 kB / 0.6689 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2101, allocations: 7.938 kB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2101, allocations: 0 / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2102, allocations: 39.92 kB / 0.6689 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.2106, allocations: 234.4 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2108, allocations: 85.14 kB / 0.6692 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.2109, allocations: 61.84 kB / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.2109, allocations: 0 / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.2112, allocations: 105.1 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.2113, allocations: 0 / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004621/0.2117, allocations: 185.4 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2118, allocations: 89.09 kB / 0.6696 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.212, allocations: 156 kB / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.2121, allocations: 41.69 kB / 0.6698 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.2122, allocations: 96.52 kB / 0.6699 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.2123, allocations: 35.55 kB / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2124, allocations: 49.7 kB / 0.67 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.2127, allocations: 322.8 kB / 0.6703 GB, free: 444 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.2128, allocations: 51.91 kB / 0.6703 GB, free: 392 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.2131, allocations: 197.1 kB / 0.6705 GB, free: 140 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2132, allocations: 101.6 kB / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2132, allocations: 0 / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002969/0.2136, allocations: 161.4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2136, allocations: 7.938 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.2136, allocations: 4 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2136, allocations: 0 / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2138, allocations: 15.92 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2138, allocations: 0 / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.2141, allocations: 75.84 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2141, allocations: 4 kB / 0.6709 GB, free: 15.76 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.000156/0.2143, allocations: 137.9 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.2143, allocations: 15.75 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.2144, allocations: 16.72 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2144, allocations: 4 kB / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2144, allocations: 0 / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2144, allocations: 3.938 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.2146, allocations: 193.6 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2147, allocations: 3.938 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.2147, allocations: 11.94 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2147, allocations: 0 / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2147, allocations: 7.984 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2147, allocations: 0 / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2148, allocations: 0 / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.215, allocations: 181.8 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.2151, allocations: 88.89 kB / 0.6715 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2151, allocations: 8 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.2152, allocations: 4 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.2153, allocations: 11.92 kB / 0.6715 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.2153, allocations: 4 kB / 0.6715 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2154, allocations: 117.7 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2154, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003955/0.2158, allocations: 75.98 kB / 0.6717 GB, free: 14.8 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.000462/0.2163, allocations: 160.5 kB / 0.6719 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.2166, allocations: 168 kB / 0.672 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.2167, allocations: 0 / 0.672 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2167, allocations: 43.92 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.2169, allocations: 19.92 kB / 0.6721 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.2175, allocations: 249 kB / 0.6723 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.2179, allocations: 0.7041 MB / 0.673 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.218, allocations: 15.44 kB / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.218, allocations: 0 / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.005618/0.2236, allocations: 2.437 MB / 0.6754 GB, free: 10.95 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)