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.006411/0.006411, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.00126/0.00126, allocations: 187.6 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7367/0.7367, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 0.5808 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 80.21 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002079/0.3869, allocations: 1.478 MB / 0.6606 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.3878, allocations: 0.6983 MB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.3879, allocations: 1.25 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.282e-05/0.388, allocations: 8.5 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.3881, allocations: 16.62 kB / 0.6613 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.3889, allocations: 348.4 kB / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3891, allocations: 170.1 kB / 0.6618 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.3892, allocations: 10.33 kB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.3893, allocations: 69.58 kB / 0.6619 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.3893, allocations: 48.25 kB / 0.6619 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.3894, allocations: 11.5 kB / 0.6619 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.3897, allocations: 255.1 kB / 0.6622 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.3898, allocations: 39.41 kB / 0.6622 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.3899, allocations: 60.3 kB / 0.6623 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3903, allocations: 305.4 kB / 0.6626 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3903, allocations: 4 kB / 0.6626 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3903, allocations: 0 / 0.6626 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3903, allocations: 0 / 0.6626 GB, free: 7.832 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.0004901/0.3908, allocations: 473.7 kB / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3908, allocations: 9.719 kB / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.3909, allocations: 36.84 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.3909, allocations: 12.53 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3911, allocations: 207.3 kB / 0.6633 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3911, allocations: 9.594 kB / 0.6633 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3911, allocations: 12.16 kB / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3913, allocations: 103.2 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3913, allocations: 11.81 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3913, allocations: 5.188 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.3913, allocations: 1.312 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.3914, allocations: 50.3 kB / 0.6635 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3916, allocations: 243.8 kB / 0.6637 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3917, allocations: 108 kB / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.3918, allocations: 70.97 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3918, allocations: 13.25 kB / 0.6639 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.392, allocations: 140.4 kB / 0.664 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.392, allocations: 0 / 0.664 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003433/0.3924, allocations: 216.3 kB / 0.6642 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3924, allocations: 110.5 kB / 0.6643 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.3925, allocations: 151.3 kB / 0.6645 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3925, allocations: 36.11 kB / 0.6645 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.3926, allocations: 101.5 kB / 0.6646 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.3926, allocations: 54.92 kB / 0.6646 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.3927, allocations: 59.69 kB / 0.6647 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.3927, allocations: 327.4 kB / 0.665 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.3928, allocations: 53.16 kB / 0.6651 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.393, allocations: 183.4 kB / 0.6652 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3931, allocations: 128.3 kB / 0.6654 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3931, allocations: 4 kB / 0.6654 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002412/0.3934, allocations: 203.8 kB / 0.6656 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3934, allocations: 9.984 kB / 0.6656 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.3934, allocations: 3.219 kB / 0.6656 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3935, allocations: 2.188 kB / 0.6656 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.3935, allocations: 18.53 kB / 0.6656 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3936, allocations: 1.344 kB / 0.6656 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3937, allocations: 50.66 kB / 0.6656 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3938, allocations: 5.562 kB / 0.6656 GB, free: 5.109 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 8.684e-05/0.3939, allocations: 146.4 kB / 0.6658 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3939, allocations: 12.36 kB / 0.6658 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3939, allocations: 19.66 kB / 0.6658 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3939, allocations: 2.938 kB / 0.6658 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3939, allocations: 1.562 kB / 0.6658 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3939, allocations: 0 / 0.6658 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.394, allocations: 206.3 kB / 0.666 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3941, allocations: 0 / 0.666 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.3941, allocations: 8.562 kB / 0.666 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3941, allocations: 6.438 kB / 0.666 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3941, allocations: 6.594 kB / 0.666 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3941, allocations: 1.188 kB / 0.666 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3941, allocations: 0 / 0.666 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.3944, allocations: 223.3 kB / 0.6663 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3944, allocations: 89.02 kB / 0.6663 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3944, allocations: 2.594 kB / 0.6663 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.3945, allocations: 18.52 kB / 0.6664 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3945, allocations: 8.578 kB / 0.6664 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3945, allocations: 9.594 kB / 0.6664 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.3946, allocations: 99.86 kB / 0.6665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3946, allocations: 0 / 0.6665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003437/0.3949, allocations: 106.9 kB / 0.6666 GB, free: 4.316 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.0005251/0.3955, allocations: 0.8402 MB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3957, allocations: 222.3 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3957, allocations: 0 / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.3958, allocations: 57.44 kB / 0.6677 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.396, allocations: 17.48 kB / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3974, allocations: 1.837 MB / 0.6695 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3975, allocations: 0.7091 MB / 0.6702 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.3976, allocations: 12.06 kB / 0.6702 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.3976, allocations: 34.77 kB / 0.6702 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3976, allocations: 3.938 kB / 0.6702 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.4182, allocations: 4.652 MB / 0.6748 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.842, allocations: 13.67 kB / 0.6748 GB, free: 14.79 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)