Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6452/0.6452, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 59.34 kB / 0.5012 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2997, allocations: 80.2 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001969/0.3017, allocations: 1.549 MB / 0.581 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009208/0.3027, allocations: 0.7326 MB / 0.5817 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.3027, allocations: 1.062 kB / 0.5817 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.3028, allocations: 8.391 kB / 0.5817 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.3028, allocations: 12.28 kB / 0.5817 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.3035, allocations: 291.2 kB / 0.582 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3036, allocations: 154.2 kB / 0.5822 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.3037, allocations: 25.92 kB / 0.5822 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.3037, allocations: 60.2 kB / 0.5822 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.3038, allocations: 48.03 kB / 0.5823 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3039, allocations: 7.281 kB / 0.5823 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.3042, allocations: 242.8 kB / 0.5825 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3042, allocations: 36.31 kB / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.3043, allocations: 56.41 kB / 0.5826 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.3046, allocations: 289.2 kB / 0.5829 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3046, allocations: 8.969 kB / 0.5829 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.3046, allocations: 0 / 0.5829 GB, free: 2.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3047, allocations: 0 / 0.5829 GB, free: 2.508 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004466/0.3051, allocations: 470.5 kB / 0.5833 GB, free: 2.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3051, allocations: 9.625 kB / 0.5833 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.3052, allocations: 40 kB / 0.5834 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.3052, allocations: 15.25 kB / 0.5834 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3054, allocations: 215.6 kB / 0.5836 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3054, allocations: 12.95 kB / 0.5836 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3054, allocations: 14.06 kB / 0.5836 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3056, allocations: 94 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3056, allocations: 4.547 kB / 0.5837 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3056, allocations: 5.797 kB / 0.5837 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3056, allocations: 0.75 kB / 0.5837 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.3057, allocations: 49.88 kB / 0.5838 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.3059, allocations: 249.8 kB / 0.584 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.306, allocations: 111.7 kB / 0.5841 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.3061, allocations: 69.03 kB / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3061, allocations: 5.469 kB / 0.5842 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3063, allocations: 136.6 kB / 0.5843 GB, free: 1.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.3063, allocations: 0 / 0.5843 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003495/0.3067, allocations: 216.7 kB / 0.5845 GB, free: 1.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3067, allocations: 119.6 kB / 0.5846 GB, free: 1.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.3068, allocations: 143 kB / 0.5848 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3068, allocations: 35.42 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3069, allocations: 99.61 kB / 0.5849 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.3069, allocations: 56.69 kB / 0.585 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.307, allocations: 64.39 kB / 0.585 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.307, allocations: 323 kB / 0.5853 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3071, allocations: 53.03 kB / 0.5854 GB, free: 360 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.3073, allocations: 177 kB / 0.5856 GB, free: 216 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3074, allocations: 133.2 kB / 0.5857 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3075, allocations: 0 / 0.5857 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002555/0.3077, allocations: 213.2 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3077, allocations: 5.938 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3078, allocations: 5 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.3078, allocations: 1.5 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3078, allocations: 15.8 kB / 0.5859 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3079, allocations: 2.172 kB / 0.5859 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3081, allocations: 50.7 kB / 0.586 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3081, allocations: 5.719 kB / 0.586 GB, free: 16 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001269/0.3082, allocations: 153.4 kB / 0.5861 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3082, allocations: 9.844 kB / 0.5861 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.3083, allocations: 17.7 kB / 0.5861 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3083, allocations: 6.5 kB / 0.5861 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3083, allocations: 1.328 kB / 0.5861 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3083, allocations: 1.688 kB / 0.5862 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3084, allocations: 203.7 kB / 0.5863 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3084, allocations: 1.766 kB / 0.5863 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.3085, allocations: 13.08 kB / 0.5864 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3085, allocations: 6.281 kB / 0.5864 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3085, allocations: 3.375 kB / 0.5864 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3085, allocations: 0.7188 kB / 0.5864 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3085, allocations: 1.656 kB / 0.5864 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3088, allocations: 209.6 kB / 0.5866 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.3088, allocations: 94.52 kB / 0.5867 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3089, allocations: 11.45 kB / 0.5867 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.3089, allocations: 7.891 kB / 0.5867 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.309, allocations: 12.31 kB / 0.5867 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.309, allocations: 5.078 kB / 0.5867 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.309, allocations: 105.4 kB / 0.5868 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.3091, allocations: 0 / 0.5868 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3094, allocations: 109.6 kB / 0.5869 GB, free: 15.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006443/0.31, allocations: 0.8407 MB / 0.5877 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3103, allocations: 217.6 kB / 0.5879 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3103, allocations: 1.312 kB / 0.5879 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.3104, allocations: 56.81 kB / 0.588 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3106, allocations: 18.95 kB / 0.588 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3122, allocations: 1.838 MB / 0.5898 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3124, allocations: 0.7116 MB / 0.5905 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.79e-05/0.3125, allocations: 11.33 kB / 0.5905 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.3125, allocations: 32.92 kB / 0.5905 GB, free: 12.25 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3125, allocations: 0 / 0.5905 GB, free: 12.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.087/6.4, allocations: 4.316 MB / 0.5947 GB, free: 11.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/6.4, allocations: 214.1 kB / 0.595 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/9.02, allocations: 3.094 kB / 0.595 GB, free: 11.07 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)