Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_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.007312/0.007312, allocations: 170.5 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7701/0.7701, allocations: 135.2 MB / 151 MB, free: 13.85 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.603/1.603, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 100.8 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.436, allocations: 82.3 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.6196, allocations: 111.8 MB / 0.7587 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.6201, allocations: 75.95 kB / 0.7587 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.6364, allocations: 5.08 MB / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6364, allocations: 0 / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.6364, allocations: 4 kB / 0.7637 GB, free: 14.99 MB / 0.5417 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.0008133/0.6373, allocations: 466.8 kB / 0.7642 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.6373, allocations: 8.031 kB / 0.7642 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.6374, allocations: 42.5 kB / 0.7642 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.6375, allocations: 23.8 kB / 0.7642 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.6378, allocations: 216 kB / 0.7644 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6379, allocations: 8 kB / 0.7644 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.6379, allocations: 12 kB / 0.7644 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.6382, allocations: 100.2 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6382, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6382, allocations: 4 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.6382, allocations: 8 kB / 0.7646 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.6383, allocations: 39.97 kB / 0.7646 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.6387, allocations: 255.3 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6389, allocations: 107.9 kB / 0.7649 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.6389, allocations: 7.938 kB / 0.7649 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.6392, allocations: 130.5 kB / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.6392, allocations: 4 kB / 0.7651 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0006336/0.6398, allocations: 461.3 kB / 0.7655 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.6399, allocations: 118.8 kB / 0.7656 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.6401, allocations: 134.1 kB / 0.7658 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.6401, allocations: 37.7 kB / 0.7658 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.6402, allocations: 104.7 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.6403, allocations: 51.3 kB / 0.7659 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.6403, allocations: 4 kB / 0.7659 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6404, allocations: 330.8 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.6406, allocations: 52.72 kB / 0.7663 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.6408, allocations: 196.4 kB / 0.7665 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.641, allocations: 87.81 kB / 0.7666 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.641, allocations: 0 / 0.7666 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003383/0.6414, allocations: 197.3 kB / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6414, allocations: 4 kB / 0.7668 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.6414, allocations: 15.92 kB / 0.7668 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6414, allocations: 3.938 kB / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.6415, allocations: 12.14 kB / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.6416, allocations: 0 / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.6418, allocations: 55.86 kB / 0.7669 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.6418, allocations: 11.98 kB / 0.7669 GB, free: 11.36 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.642, allocations: 146.4 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.642, allocations: 11.81 kB / 0.767 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.6421, allocations: 24.7 kB / 0.767 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6421, allocations: 4 kB / 0.767 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6421, allocations: 0 / 0.767 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6421, allocations: 0 / 0.767 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.6423, allocations: 205.5 kB / 0.7672 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6423, allocations: 3.953 kB / 0.7672 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.6424, allocations: 11.94 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6424, allocations: 4 kB / 0.7673 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.6424, allocations: 11.98 kB / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6424, allocations: 240 / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6424, allocations: 4 kB / 0.7673 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.6428, allocations: 244.4 kB / 0.7675 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.6429, allocations: 92.94 kB / 0.7676 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.6429, allocations: 4 kB / 0.7676 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.643, allocations: 12 kB / 0.7676 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.643, allocations: 11.92 kB / 0.7676 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.643, allocations: 8 kB / 0.7676 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.868e-05/0.6431, allocations: 105.3 kB / 0.7677 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6431, allocations: 0 / 0.7677 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004667/0.6436, allocations: 119.9 kB / 0.7678 GB, free: 10.25 MB / 0.5417 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 (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.001001/0.6446, allocations: 1.023 MB / 0.7688 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.645, allocations: 213 kB / 0.769 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.645, allocations: 0 / 0.769 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.6451, allocations: 59.92 kB / 0.7691 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.6452, allocations: 7.953 kB / 0.7691 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.6468, allocations: 1.171 MB / 0.7703 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6472, allocations: 0.7087 MB / 0.771 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.6473, allocations: 16.88 kB / 0.771 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.6473, allocations: 35.42 kB / 0.771 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6473, allocations: 0 / 0.771 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.6664, allocations: 4.188 MB / 0.7751 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.6667, allocations: 197.8 kB / 0.7753 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.433, allocations: 0 / 0.7753 GB, free: 2.637 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)