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.001423/0.001423, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001939/0.001939, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.231/1.231, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006463, allocations: 8 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 82.3 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002128/0.2761, allocations: 1.114 MB / 0.5885 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.2771, allocations: 470.9 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.2772, allocations: 4 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.694e-05/0.2773, allocations: 7.938 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.2774, allocations: 15.91 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.2782, allocations: 183.3 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2785, allocations: 123.8 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2786, allocations: 7.984 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.2787, allocations: 47.91 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2788, allocations: 55.81 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2789, allocations: 4 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.2792, allocations: 155.8 kB / 0.5895 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.2793, allocations: 31.91 kB / 0.5895 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.2794, allocations: 41.64 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.2797, allocations: 167.9 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.2797, allocations: 4 kB / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.2797, allocations: 0 / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2797, allocations: 0 / 0.5897 GB, free: 0.5664 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.0008048/0.2805, allocations: 419 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.2806, allocations: 8.031 kB / 0.5901 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.2807, allocations: 15.81 kB / 0.5901 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.281, allocations: 198.9 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.281, allocations: 8 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.2811, allocations: 15.98 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2813, allocations: 87.33 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2813, allocations: 0 / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2813, allocations: 0 / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2813, allocations: 0 / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.843e-05/0.2814, allocations: 35.98 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.2818, allocations: 246.3 kB / 0.5907 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.282, allocations: 77.14 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.2821, allocations: 61.84 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2821, allocations: 0 / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.2824, allocations: 109 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2824, allocations: 0 / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004614/0.2829, allocations: 181.5 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.283, allocations: 89.11 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2832, allocations: 151.8 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.2832, allocations: 37.7 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.2833, allocations: 100.5 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.2834, allocations: 35.53 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.2834, allocations: 8 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2836, allocations: 326.8 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.2837, allocations: 40.17 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.284, allocations: 200.9 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2841, allocations: 71.25 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2841, allocations: 0 / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002267/0.2844, allocations: 149.5 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2844, allocations: 8 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.2844, allocations: 3.984 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2845, allocations: 4 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.2845, allocations: 11.94 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2846, allocations: 8 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.2849, allocations: 91.72 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2849, allocations: 4 kB / 0.5924 GB, free: 13.52 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.285, allocations: 145.9 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.2851, allocations: 11.81 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2851, allocations: 12.72 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2851, allocations: 0 / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2852, allocations: 7.984 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.2852, allocations: 4 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.2854, allocations: 189.6 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2854, allocations: 0 / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.2854, allocations: 11.92 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2854, allocations: 4 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2855, allocations: 4 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2855, allocations: 0 / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2855, allocations: 4 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2857, allocations: 189.6 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.2858, allocations: 88.95 kB / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2858, allocations: 0 / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.2859, allocations: 7.984 kB / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2859, allocations: 7.938 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.286, allocations: 8 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.2861, allocations: 109.3 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2861, allocations: 4 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003208/0.2864, allocations: 71.98 kB / 0.5932 GB, free: 12.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003279/0.2867, allocations: 163.1 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.287, allocations: 159.3 kB / 0.5935 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.287, allocations: 0 / 0.5935 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.2871, allocations: 43.98 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.2873, allocations: 14.14 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.2879, allocations: 242.5 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2883, allocations: 0.7083 MB / 0.5945 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.2883, allocations: 4.672 kB / 0.5945 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.2883, allocations: 15.44 kB / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2883, allocations: 0 / 0.5945 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.006194/0.2945, allocations: 2.326 MB / 0.5968 GB, free: 8.84 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)