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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7604/0.7604, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.838/1.838, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 107.8 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.32e-05, allocations: 1.344 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7166/0.9256, allocations: 111.7 MB / 0.7496 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.926, allocations: 75.27 kB / 0.7496 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.9409, allocations: 5.042 MB / 0.7546 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/0.941, allocations: 0 / 0.7546 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.941, allocations: 0 / 0.7546 GB, free: 27.28 MB / 0.5105 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.0008778/0.9419, allocations: 451 kB / 0.755 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/0.942, allocations: 11.56 kB / 0.755 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.064e-05/0.942, allocations: 45.05 kB / 0.7551 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.9421, allocations: 19.59 kB / 0.7551 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.9426, allocations: 217.6 kB / 0.7553 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.9426, allocations: 3.969 kB / 0.7553 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.9426, allocations: 15.31 kB / 0.7553 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.9429, allocations: 99.02 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9429, allocations: 0 / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.9429, allocations: 6.219 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9429, allocations: 4 kB / 0.7554 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.9431, allocations: 46.14 kB / 0.7555 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.9434, allocations: 252.5 kB / 0.7557 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.9436, allocations: 109.7 kB / 0.7558 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.9437, allocations: 81.39 kB / 0.7559 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.9437, allocations: 3.984 kB / 0.7559 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.944, allocations: 137.7 kB / 0.756 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.944, allocations: 0 / 0.756 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0004508/0.9445, allocations: 176.5 kB / 0.7562 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/0.9446, allocations: 131.9 kB / 0.7563 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9447, allocations: 127.5 kB / 0.7564 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.9448, allocations: 38.92 kB / 0.7565 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.9449, allocations: 100.5 kB / 0.7566 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.945, allocations: 54.28 kB / 0.7566 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.945, allocations: 3.438 kB / 0.7566 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9451, allocations: 338.9 kB / 0.7569 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.9453, allocations: 49.8 kB / 0.757 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.9455, allocations: 197.5 kB / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.9456, allocations: 64.66 kB / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9456, allocations: 0 / 0.7572 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003041/0.9459, allocations: 205.4 kB / 0.7574 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.946, allocations: 3.938 kB / 0.7574 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/0.946, allocations: 10.42 kB / 0.7574 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.946, allocations: 0 / 0.7574 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.9461, allocations: 19.62 kB / 0.7575 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.9462, allocations: 0 / 0.7575 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.9464, allocations: 53.8 kB / 0.7575 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.9464, allocations: 14.67 kB / 0.7575 GB, free: 25.2 MB / 0.5105 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.9466, allocations: 134 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.9466, allocations: 11.44 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.9466, allocations: 18.45 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9466, allocations: 0 / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9467, allocations: 0 / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.9467, allocations: 3.719 kB / 0.7577 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.9469, allocations: 212.4 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9469, allocations: 0 / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.9469, allocations: 7.688 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.9469, allocations: 3.844 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.947, allocations: 6.719 kB / 0.7579 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.947, allocations: 7.844 kB / 0.7579 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.947, allocations: 3.938 kB / 0.7579 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.9473, allocations: 233 kB / 0.7581 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.9474, allocations: 88.77 kB / 0.7582 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.9474, allocations: 7.844 kB / 0.7582 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.9475, allocations: 14.75 kB / 0.7582 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.9475, allocations: 6.75 kB / 0.7583 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.9475, allocations: 17.97 kB / 0.7583 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.056e-05/0.9476, allocations: 101.9 kB / 0.7584 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9476, allocations: 0 / 0.7584 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005136/0.9482, allocations: 111.1 kB / 0.7585 GB, free: 24.53 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.9492, allocations: 1.026 MB / 0.7595 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.9495, allocations: 214.6 kB / 0.7597 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9495, allocations: 4 kB / 0.7597 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.9496, allocations: 59.44 kB / 0.7597 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.9498, allocations: 16.33 kB / 0.7598 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.9505, allocations: 269.5 kB / 0.76 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.9509, allocations: 0.7143 MB / 0.7607 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.664e-05/0.951, allocations: 16.56 kB / 0.7607 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.951, allocations: 29.39 kB / 0.7608 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.335e-06/0.951, allocations: 0 / 0.7608 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.9738, allocations: 4.22 MB / 0.7649 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.9742, allocations: 171 kB / 0.765 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.947, allocations: 0 / 0.765 GB, free: 20.46 MB / 0.5105 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/linux/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)