Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_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.001015/0.001016, allocations: 180.9 kB / 7.651 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.7809/0.7809, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.563/1.563, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001061/0.001061, allocations: 95.2 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.862e-05, allocations: 0 / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5638, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.7205, allocations: 111 MB / 0.7423 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.7208, allocations: 75.95 kB / 0.7424 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.7322, allocations: 3.941 MB / 0.7462 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7322, allocations: 0 / 0.7462 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7322, allocations: 4 kB / 0.7462 GB, free: 7.672 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.0005506/0.7328, allocations: 426.1 kB / 0.7466 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7328, allocations: 16.03 kB / 0.7466 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.7329, allocations: 11.91 kB / 0.7467 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.7332, allocations: 224.6 kB / 0.7469 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.7333, allocations: 4 kB / 0.7469 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.7333, allocations: 8 kB / 0.7469 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/0.7334, allocations: 35.98 kB / 0.7469 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.7336, allocations: 79.38 kB / 0.747 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.7336, allocations: 0 / 0.747 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7336, allocations: 7.938 kB / 0.747 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7336, allocations: 4 kB / 0.747 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.7339, allocations: 211 kB / 0.7472 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.734, allocations: 85.17 kB / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.7341, allocations: 53.8 kB / 0.7473 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.7341, allocations: 4 kB / 0.7473 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.7343, allocations: 115.5 kB / 0.7475 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.7343, allocations: 0 / 0.7475 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0003916/0.7347, allocations: 161.4 kB / 0.7476 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.7348, allocations: 93.02 kB / 0.7477 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.7349, allocations: 134.8 kB / 0.7478 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.735, allocations: 33.69 kB / 0.7479 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.7351, allocations: 96.58 kB / 0.7479 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.7351, allocations: 39.55 kB / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7351, allocations: 0 / 0.748 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7353, allocations: 326.8 kB / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.7354, allocations: 40.17 kB / 0.7483 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.7356, allocations: 201.5 kB / 0.7485 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.7357, allocations: 68.38 kB / 0.7486 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7358, allocations: 0 / 0.7486 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002598/0.736, allocations: 161.3 kB / 0.7487 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.736, allocations: 8 kB / 0.7488 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.7361, allocations: 7.984 kB / 0.7488 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7361, allocations: 0 / 0.7488 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.7362, allocations: 12 kB / 0.7488 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7362, allocations: 0 / 0.7488 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.7365, allocations: 91.7 kB / 0.7489 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.7365, allocations: 8 kB / 0.7489 GB, free: 4.664 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.0001063/0.7366, allocations: 112.9 kB / 0.749 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002526/0.7369, allocations: 161.5 kB / 0.7491 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.7369, allocations: 11.89 kB / 0.7491 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.737, allocations: 12.62 kB / 0.7492 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.737, allocations: 0 / 0.7492 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.737, allocations: 7.953 kB / 0.7492 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.737, allocations: 4 kB / 0.7492 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.7371, allocations: 162.1 kB / 0.7493 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7372, allocations: 4 kB / 0.7493 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.7372, allocations: 8 kB / 0.7493 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7372, allocations: 3.938 kB / 0.7493 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7372, allocations: 7.984 kB / 0.7493 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7372, allocations: 0 / 0.7493 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7372, allocations: 0 / 0.7493 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.7375, allocations: 207.4 kB / 0.7495 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.7376, allocations: 88.92 kB / 0.7496 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.7376, allocations: 7.984 kB / 0.7496 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.7377, allocations: 7.938 kB / 0.7496 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.7377, allocations: 11.95 kB / 0.7497 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.7378, allocations: 7.984 kB / 0.7497 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.7378, allocations: 109 kB / 0.7498 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7378, allocations: 0 / 0.7498 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003534/0.7382, allocations: 87.86 kB / 0.7498 GB, free: 3.566 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.0007288/0.7389, allocations: 0.8592 MB / 0.7507 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.7392, allocations: 151.7 kB / 0.7508 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.7392, allocations: 3.938 kB / 0.7508 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.7393, allocations: 47.92 kB / 0.7509 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7394, allocations: 320 / 0.7509 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.7399, allocations: 227.3 kB / 0.7511 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.7403, allocations: 0.7118 MB / 0.7518 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.867e-05/0.7403, allocations: 17.02 kB / 0.7518 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.7404, allocations: 27.44 kB / 0.7518 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.7404, allocations: 0 / 0.7518 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.7632, allocations: 3.231 MB / 0.755 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.7635, allocations: 140.3 kB / 0.7551 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.494, allocations: 0 / 0.7551 GB, free: 14.03 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)