Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",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.001229/0.001228, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7609/0.7609, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.001013/0.001013, allocations: 106 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.43e-05, allocations: 0 / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4887, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.63, allocations: 111 MB / 0.7423 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.6303, allocations: 71.95 kB / 0.7424 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.6412, allocations: 3.945 MB / 0.7462 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6412, allocations: 0 / 0.7462 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.6412, allocations: 4 kB / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005296/0.6418, allocations: 426.1 kB / 0.7466 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6418, allocations: 12.03 kB / 0.7466 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.6419, allocations: 11.91 kB / 0.7467 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.6422, allocations: 220.6 kB / 0.7469 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.6422, allocations: 8 kB / 0.7469 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.6423, allocations: 8 kB / 0.7469 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.6424, allocations: 35.97 kB / 0.7469 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.6426, allocations: 79.39 kB / 0.747 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6426, allocations: 0 / 0.747 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.6426, allocations: 7.922 kB / 0.747 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6426, allocations: 0 / 0.747 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.6429, allocations: 215 kB / 0.7472 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.643, allocations: 77.25 kB / 0.7473 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.6431, allocations: 53.81 kB / 0.7473 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.6431, allocations: 0 / 0.7473 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.6433, allocations: 117 kB / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.6433, allocations: 4 kB / 0.7474 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0004045/0.6437, allocations: 161.4 kB / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6438, allocations: 92.98 kB / 0.7477 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.6439, allocations: 130.7 kB / 0.7478 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.644, allocations: 33.7 kB / 0.7478 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.6441, allocations: 92.58 kB / 0.7479 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.6441, allocations: 35.55 kB / 0.748 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.6442, allocations: 8 kB / 0.748 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6443, allocations: 322.8 kB / 0.7483 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.6444, allocations: 44.17 kB / 0.7483 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.6446, allocations: 205.5 kB / 0.7485 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.6447, allocations: 64.31 kB / 0.7486 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6448, allocations: 4 kB / 0.7486 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002575/0.645, allocations: 161.3 kB / 0.7487 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.645, allocations: 4 kB / 0.7487 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/0.6451, allocations: 7.984 kB / 0.7488 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.6451, allocations: 4 kB / 0.7488 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.6452, allocations: 12 kB / 0.7488 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6452, allocations: 7.938 kB / 0.7488 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.6455, allocations: 87.7 kB / 0.7489 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.6455, allocations: 8 kB / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001022/0.6457, allocations: 116.9 kB / 0.749 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002505/0.6459, allocations: 165.5 kB / 0.7491 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.6459, allocations: 7.906 kB / 0.7491 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.646, allocations: 12.62 kB / 0.7492 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.646, allocations: 192 / 0.7492 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.646, allocations: 3.953 kB / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.646, allocations: 3.984 kB / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.6462, allocations: 170.1 kB / 0.7493 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6462, allocations: 0 / 0.7493 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.6462, allocations: 19.92 kB / 0.7493 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6462, allocations: 0 / 0.7493 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6462, allocations: 4 kB / 0.7493 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6462, allocations: 0 / 0.7493 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6463, allocations: 160 / 0.7493 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.6465, allocations: 210.4 kB / 0.7495 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.6466, allocations: 92.91 kB / 0.7496 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.6466, allocations: 8 kB / 0.7496 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.6467, allocations: 4 kB / 0.7496 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.6467, allocations: 7.938 kB / 0.7497 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.6467, allocations: 8 kB / 0.7497 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.6468, allocations: 105.2 kB / 0.7498 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6468, allocations: 0 / 0.7498 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003563/0.6472, allocations: 87.86 kB / 0.7498 GB, free: 3.531 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006569/0.6478, allocations: 0.8592 MB / 0.7507 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.6481, allocations: 155.4 kB / 0.7508 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6481, allocations: 7.875 kB / 0.7508 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.6482, allocations: 36 kB / 0.7509 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.6483, allocations: 8 kB / 0.7509 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.6488, allocations: 223.3 kB / 0.7511 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.6491, allocations: 0.7118 MB / 0.7518 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.6492, allocations: 12.66 kB / 0.7518 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.6492, allocations: 27.42 kB / 0.7518 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/0.6493, allocations: 4 kB / 0.7518 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.6712, allocations: 3.236 MB / 0.755 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.6715, allocations: 130.2 kB / 0.7551 GB, free: 14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.382, allocations: 0 / 0.7551 GB, free: 14 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)