Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001844/0.001844, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.002096/0.002096, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8072/0.8072, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.00205, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3768, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002549/0.3794, allocations: 1.404 MB / 0.5829 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.3802, allocations: 0.5037 MB / 0.5833 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.3803, allocations: 1.312 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.32e-05/0.3804, allocations: 9.453 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.3804, allocations: 11.5 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.3811, allocations: 230.8 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3813, allocations: 140 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.3813, allocations: 4.906 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.3814, allocations: 57.64 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.3814, allocations: 42.7 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3815, allocations: 10.34 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.3817, allocations: 171.6 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3818, allocations: 39.83 kB / 0.584 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.3818, allocations: 51.08 kB / 0.5841 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3821, allocations: 241.1 kB / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3821, allocations: 0 / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3821, allocations: 0.5938 kB / 0.5843 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3821, allocations: 0 / 0.5843 GB, free: 25.48 MB / 446.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.0004114/0.3825, allocations: 447.4 kB / 0.5847 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3826, allocations: 9.406 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.3826, allocations: 17.09 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3828, allocations: 205.3 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3828, allocations: 12.53 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3828, allocations: 13.14 kB / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.383, allocations: 86.98 kB / 0.5851 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.383, allocations: 1.281 kB / 0.5851 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.383, allocations: 3.938 kB / 0.5851 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.383, allocations: 5.25 kB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.3831, allocations: 37.48 kB / 0.5851 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.3833, allocations: 233.3 kB / 0.5853 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3834, allocations: 79.83 kB / 0.5854 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.3835, allocations: 62.33 kB / 0.5855 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3835, allocations: 0 / 0.5855 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3836, allocations: 109.5 kB / 0.5856 GB, free: 24.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.3837, allocations: 1.438 kB / 0.5856 GB, free: 24.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003094/0.384, allocations: 191 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.384, allocations: 87.17 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.3841, allocations: 154 kB / 0.586 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3841, allocations: 39.66 kB / 0.586 GB, free: 23.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.3842, allocations: 99.42 kB / 0.5861 GB, free: 23.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3842, allocations: 32.89 kB / 0.5862 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.3843, allocations: 53.86 kB / 0.5862 GB, free: 23.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.3844, allocations: 322.5 kB / 0.5865 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.3844, allocations: 45.52 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3846, allocations: 197.8 kB / 0.5867 GB, free: 23.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3847, allocations: 102.4 kB / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3847, allocations: 0 / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001956/0.3849, allocations: 163.3 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3849, allocations: 4.812 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.385, allocations: 3.781 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.385, allocations: 2.5 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.3851, allocations: 10.39 kB / 0.587 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3851, allocations: 0.8125 kB / 0.587 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3853, allocations: 78.88 kB / 0.5871 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3853, allocations: 3.719 kB / 0.5871 GB, free: 23.04 MB / 446.1 MB 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 7.713e-05/0.3854, allocations: 140.2 kB / 0.5872 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3854, allocations: 18 kB / 0.5873 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.3855, allocations: 15.78 kB / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3855, allocations: 2.688 kB / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3855, allocations: 1.281 kB / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3855, allocations: 0 / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.673e-05/0.3856, allocations: 191.6 kB / 0.5875 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3856, allocations: 9.031 kB / 0.5875 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3856, allocations: 5.156 kB / 0.5875 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3856, allocations: 3.062 kB / 0.5875 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3856, allocations: 1.062 kB / 0.5875 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3857, allocations: 5.172 kB / 0.5875 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3857, allocations: 2.625 kB / 0.5875 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3858, allocations: 180.6 kB / 0.5877 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.3859, allocations: 96.92 kB / 0.5877 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3859, allocations: 6.656 kB / 0.5877 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.3859, allocations: 1.094 kB / 0.5878 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.386, allocations: 8.609 kB / 0.5878 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.386, allocations: 3.438 kB / 0.5878 GB, free: 22.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.3861, allocations: 122.9 kB / 0.5879 GB, free: 22.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3861, allocations: 0 / 0.5879 GB, free: 22.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3863, allocations: 77.95 kB / 0.588 GB, free: 22.29 MB / 446.1 MB 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.0001889/0.3865, allocations: 160 kB / 0.5881 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3868, allocations: 163.1 kB / 0.5883 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3868, allocations: 0 / 0.5883 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.3868, allocations: 49.3 kB / 0.5883 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.387, allocations: 14.33 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.3873, allocations: 216.5 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3874, allocations: 0.7064 MB / 0.5892 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.3875, allocations: 7.516 kB / 0.5892 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3875, allocations: 12.78 kB / 0.5892 GB, free: 21.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3875, allocations: 2.844 kB / 0.5892 GB, free: 21.15 MB / 446.1 MB Notification: Performance of Templates: time 0.004564/0.3921, allocations: 2.513 MB / 0.5917 GB, free: 19.37 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)