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.0008056/0.0008056, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004443/0.004443, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7112/0.7112, allocations: 132.3 MB / 423.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12.62 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3471, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001224/0.3484, allocations: 1.202 MB / 0.5849 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.3493, allocations: 0.7132 MB / 0.5856 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.3493, allocations: 0 / 0.5856 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.3494, allocations: 9.688 kB / 0.5856 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.3495, allocations: 8.125 kB / 0.5856 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3501, allocations: 291.9 kB / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.3503, allocations: 162.3 kB / 0.5861 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3504, allocations: 17.98 kB / 0.5861 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.3504, allocations: 58.73 kB / 0.5861 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.3505, allocations: 53.91 kB / 0.5862 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3506, allocations: 6.844 kB / 0.5862 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.3509, allocations: 243 kB / 0.5864 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3509, allocations: 30.44 kB / 0.5865 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.351, allocations: 84.44 kB / 0.5865 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.3513, allocations: 298.3 kB / 0.5868 GB, free: 2.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3514, allocations: 1.344 kB / 0.5868 GB, free: 2.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3514, allocations: 0 / 0.5868 GB, free: 2.188 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.3514, allocations: 0 / 0.5868 GB, free: 2.188 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.0004142/0.3518, allocations: 442.6 kB / 0.5872 GB, free: 1.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3518, allocations: 8.969 kB / 0.5873 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.3519, allocations: 43.23 kB / 0.5873 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3519, allocations: 16.09 kB / 0.5873 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3521, allocations: 208.3 kB / 0.5875 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3521, allocations: 9.703 kB / 0.5875 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.3521, allocations: 12.72 kB / 0.5875 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3523, allocations: 99.97 kB / 0.5876 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3523, allocations: 3.938 kB / 0.5876 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3523, allocations: 0.875 kB / 0.5876 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3523, allocations: 6.094 kB / 0.5876 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.3524, allocations: 49.25 kB / 0.5877 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3526, allocations: 246.6 kB / 0.5879 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3527, allocations: 110.2 kB / 0.588 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.3528, allocations: 74.05 kB / 0.5881 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3528, allocations: 5.828 kB / 0.5881 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.353, allocations: 135 kB / 0.5882 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.353, allocations: 4.875 kB / 0.5882 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003472/0.3534, allocations: 216.6 kB / 0.5884 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3534, allocations: 121.2 kB / 0.5886 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.3535, allocations: 145.8 kB / 0.5887 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3536, allocations: 35.41 kB / 0.5887 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.3536, allocations: 99.73 kB / 0.5888 GB, free: 460 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.3536, allocations: 52.31 kB / 0.5889 GB, free: 420 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3537, allocations: 31.17 kB / 0.5889 GB, free: 396 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.3537, allocations: 332.9 kB / 0.5892 GB, free: 64 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.3538, allocations: 51.42 kB / 0.5893 GB, free: 44 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.354, allocations: 173.8 kB / 0.5894 GB, free: 15.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3542, allocations: 140.8 kB / 0.5896 GB, free: 15.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3542, allocations: 0 / 0.5896 GB, free: 15.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002968/0.3545, allocations: 201 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.3546, allocations: 4.812 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.3546, allocations: 5.766 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3546, allocations: 2.156 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.3547, allocations: 19.39 kB / 0.5898 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3547, allocations: 3.594 kB / 0.5898 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3549, allocations: 59.23 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.355, allocations: 5.469 kB / 0.5899 GB, free: 15.71 MB / 446.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.0001071/0.3551, allocations: 141.5 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.3551, allocations: 9.984 kB / 0.59 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.3551, allocations: 13.5 kB / 0.59 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3551, allocations: 2.344 kB / 0.59 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3552, allocations: 5.469 kB / 0.59 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3552, allocations: 4.781 kB / 0.59 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.3553, allocations: 217.1 kB / 0.5902 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3553, allocations: 0 / 0.5902 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.3554, allocations: 10.8 kB / 0.5902 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3554, allocations: 1.25 kB / 0.5902 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3554, allocations: 3.031 kB / 0.5902 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3554, allocations: 6.141 kB / 0.5903 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3554, allocations: 0.8438 kB / 0.5903 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3557, allocations: 220.8 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.3558, allocations: 89.39 kB / 0.5905 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3558, allocations: 7.312 kB / 0.5906 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.3558, allocations: 11.27 kB / 0.5906 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3559, allocations: 7.297 kB / 0.5906 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3559, allocations: 8.625 kB / 0.5906 GB, free: 15.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.275e-05/0.356, allocations: 111.8 kB / 0.5907 GB, free: 15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.356, allocations: 0 / 0.5907 GB, free: 15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.3563, allocations: 105.5 kB / 0.5908 GB, free: 14.97 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.0006694/0.357, allocations: 0.845 MB / 0.5916 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3573, allocations: 213.3 kB / 0.5918 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3573, allocations: 0 / 0.5918 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.3574, allocations: 58.58 kB / 0.5919 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.3576, allocations: 13.28 kB / 0.5919 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3594, allocations: 1.834 MB / 0.5937 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3596, allocations: 0.7096 MB / 0.5944 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3597, allocations: 12.3 kB / 0.5944 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.3597, allocations: 31.8 kB / 0.5944 GB, free: 11.95 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3597, allocations: 1.375 kB / 0.5944 GB, free: 11.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/0.5975, allocations: 4.239 MB / 0.5986 GB, free: 10.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.5978, allocations: 215.3 kB / 0.5988 GB, free: 10.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.559, allocations: 0 / 0.5988 GB, free: 10.67 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)