Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.905/1.905, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 181 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 90.02 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004276, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.289, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7478/1.037, allocations: 139.3 MB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.037, allocations: 76.31 kB / 1.125 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01007/1.047, allocations: 3.939 MB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.843e-06/1.047, allocations: 0.5625 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.59e-05/1.047, allocations: 0 / 1.128 GB, free: 32.53 MB / 0.7292 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.0004809/1.048, allocations: 445.5 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.048, allocations: 16.02 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/1.048, allocations: 34.56 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/1.048, allocations: 18.53 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/1.048, allocations: 216.3 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.048, allocations: 4 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/1.048, allocations: 16 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/1.049, allocations: 84.91 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.049, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.049, allocations: 0.5625 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.049, allocations: 4 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/1.049, allocations: 38.89 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/1.049, allocations: 249.3 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.049, allocations: 91.14 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.049, allocations: 1.031 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/1.049, allocations: 122.5 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.049, allocations: 0 / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003926/1.05, allocations: 361.2 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.05, allocations: 85.05 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/1.05, allocations: 138.3 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/1.05, allocations: 37.7 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/1.05, allocations: 104 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/1.05, allocations: 46.94 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/1.05, allocations: 0 / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/1.05, allocations: 326.3 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/1.05, allocations: 44.2 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.05, allocations: 214.2 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/1.05, allocations: 56.22 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.05, allocations: 7.938 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002035/1.051, allocations: 161.6 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.051, allocations: 4.625 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.051, allocations: 11.42 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.051, allocations: 0 / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/1.051, allocations: 11.94 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.051, allocations: 3.953 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/1.051, allocations: 88.08 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/1.051, allocations: 8.125 kB / 1.131 GB, free: 29.45 MB / 0.7292 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 () * Number of clocked 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 9.836e-05/1.051, allocations: 143.4 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/1.051, allocations: 11.33 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/1.051, allocations: 12.72 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.051, allocations: 0 / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.051, allocations: 0.625 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.051, allocations: 3.953 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/1.051, allocations: 202.9 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.051, allocations: 0.9375 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/1.051, allocations: 16.44 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.051, allocations: 4 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.051, allocations: 4 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.051, allocations: 0 / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.051, allocations: 4.781 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/1.052, allocations: 205 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/1.052, allocations: 89.02 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.052, allocations: 4.812 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/1.052, allocations: 5.359 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/1.052, allocations: 12.17 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/1.052, allocations: 7.938 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.978e-05/1.052, allocations: 120 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.052, allocations: 0 / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003267/1.052, allocations: 75.94 kB / 1.132 GB, free: 28.51 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0005742/1.053, allocations: 0.866 MB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002551/1.053, allocations: 180.3 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.053, allocations: 0 / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/1.053, allocations: 43.27 kB / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/1.053, allocations: 11.95 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.054, allocations: 0.9545 MB / 1.134 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/1.055, allocations: 0.7127 MB / 1.135 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.791e-05/1.055, allocations: 6.5 kB / 1.135 GB, free: 25.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/1.055, allocations: 30.91 kB / 1.135 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.055, allocations: 4.938 kB / 1.135 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/1.07, allocations: 3.589 MB / 1.138 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.07, allocations: 179 kB / 1.139 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.768, allocations: 0 / 1.139 GB, free: 23.48 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)