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.005205/0.005205, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001166/0.001167, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7082/0.7082, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.5808 GB, free: 8.105 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 80.2 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002265/0.3984, allocations: 1.478 MB / 0.6606 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3994, allocations: 0.6904 MB / 0.6613 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.3995, allocations: 0 / 0.6613 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.153e-05/0.3996, allocations: 15.72 kB / 0.6613 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.3996, allocations: 17.06 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.4005, allocations: 350 kB / 0.6616 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.4007, allocations: 173.9 kB / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.4008, allocations: 10.14 kB / 0.6618 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.4009, allocations: 65.42 kB / 0.6619 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.4009, allocations: 56.62 kB / 0.6619 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.401, allocations: 11.38 kB / 0.6619 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.4013, allocations: 250.7 kB / 0.6622 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.4014, allocations: 35.58 kB / 0.6622 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.4015, allocations: 65.34 kB / 0.6623 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.4019, allocations: 304.8 kB / 0.6626 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4019, allocations: 4 kB / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4019, allocations: 0 / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.4019, allocations: 0 / 0.6626 GB, free: 7.848 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005372/0.4025, allocations: 473.6 kB / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4025, allocations: 9.406 kB / 0.663 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.4026, allocations: 37.25 kB / 0.6631 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.4026, allocations: 11.56 kB / 0.6631 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4028, allocations: 208.5 kB / 0.6633 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4028, allocations: 13.03 kB / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.4028, allocations: 8.219 kB / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.403, allocations: 102.7 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.403, allocations: 5.188 kB / 0.6634 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4031, allocations: 3.938 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4031, allocations: 1.594 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.4032, allocations: 50 kB / 0.6635 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.4034, allocations: 240.5 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4035, allocations: 114.9 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.4036, allocations: 75.23 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4036, allocations: 2.188 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.4038, allocations: 146.1 kB / 0.664 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.4038, allocations: 3.938 kB / 0.664 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.000363/0.4042, allocations: 205.4 kB / 0.6642 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4042, allocations: 122.8 kB / 0.6643 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.4043, allocations: 144.4 kB / 0.6645 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4043, allocations: 34.92 kB / 0.6645 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4044, allocations: 101 kB / 0.6646 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.4044, allocations: 58.77 kB / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.4045, allocations: 65 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4046, allocations: 322.9 kB / 0.665 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.4047, allocations: 53.16 kB / 0.6651 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4048, allocations: 174.9 kB / 0.6652 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.405, allocations: 132.2 kB / 0.6654 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.405, allocations: 3.938 kB / 0.6654 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002591/0.4053, allocations: 203.4 kB / 0.6656 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4053, allocations: 8.859 kB / 0.6656 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.4053, allocations: 4.531 kB / 0.6656 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4053, allocations: 1.125 kB / 0.6656 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.4054, allocations: 18.38 kB / 0.6656 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4054, allocations: 3.062 kB / 0.6656 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.4056, allocations: 49.09 kB / 0.6656 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.4057, allocations: 5.938 kB / 0.6656 GB, free: 5.133 MB / 0.4981 GB 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 9.911e-05/0.4058, allocations: 139.7 kB / 0.6658 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.4058, allocations: 12.16 kB / 0.6658 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.4058, allocations: 24.02 kB / 0.6658 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4058, allocations: 2.344 kB / 0.6658 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4058, allocations: 1.219 kB / 0.6658 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4058, allocations: 5.344 kB / 0.6658 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.406, allocations: 204.8 kB / 0.666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.406, allocations: 5.375 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.406, allocations: 8.344 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.406, allocations: 1.469 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.406, allocations: 2.844 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.406, allocations: 1.469 kB / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.406, allocations: 0 / 0.666 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4063, allocations: 222.8 kB / 0.6662 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.4063, allocations: 92.88 kB / 0.6663 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4064, allocations: 6.719 kB / 0.6663 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.4064, allocations: 14.38 kB / 0.6664 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4065, allocations: 13.83 kB / 0.6664 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4065, allocations: 8.344 kB / 0.6664 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.4065, allocations: 105.3 kB / 0.6665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4065, allocations: 0 / 0.6665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003257/0.4069, allocations: 109.9 kB / 0.6666 GB, free: 4.328 MB / 0.4981 GB 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.0005524/0.4074, allocations: 0.8423 MB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4077, allocations: 215.9 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4077, allocations: 0 / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.4078, allocations: 52.64 kB / 0.6677 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.408, allocations: 13.8 kB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4094, allocations: 1.842 MB / 0.6695 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4096, allocations: 0.7056 MB / 0.6702 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.4096, allocations: 12.53 kB / 0.6702 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.4097, allocations: 34.58 kB / 0.6702 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4097, allocations: 4 kB / 0.6702 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4308, allocations: 4.654 MB / 0.6748 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.738, allocations: 14.64 kB / 0.6748 GB, free: 14.81 MB / 0.5137 GB (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)