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.687/1.687, allocations: 289.7 MB / 302.2 MB, free: 2.086 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.00104/0.00104, allocations: 181.2 kB / 371.6 MB, free: 3.414 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.445/1.445, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008981/0.0008983, allocations: 90.83 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.676e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/1.014, allocations: 139.3 MB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/1.014, allocations: 74.7 kB / 1.116 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009847/1.024, allocations: 3.906 MB / 1.12 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.024, allocations: 0 / 1.12 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.024, allocations: 7.938 kB / 1.12 GB, free: 42.12 MB / 0.7448 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.000385/1.024, allocations: 417.2 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.024, allocations: 15.97 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/1.024, allocations: 38.44 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/1.024, allocations: 18.19 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/1.025, allocations: 212.5 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/1.025, allocations: 11.91 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.025, allocations: 12 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.025, allocations: 88.19 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.025, allocations: 0 / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.025, allocations: 0 / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.025, allocations: 4.562 kB / 1.121 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/1.025, allocations: 39.05 kB / 1.121 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/1.025, allocations: 245.3 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/1.025, allocations: 88.03 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/1.025, allocations: 59.67 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/1.025, allocations: 4 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/1.026, allocations: 114.3 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/1.026, allocations: 0 / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002796/1.026, allocations: 158.6 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.026, allocations: 88.67 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/1.026, allocations: 145.7 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.026, allocations: 36.59 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/1.026, allocations: 104.3 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/1.026, allocations: 35.52 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/1.026, allocations: 3.688 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/1.026, allocations: 325.5 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/1.026, allocations: 46.17 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/1.026, allocations: 209.9 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/1.027, allocations: 67 kB / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.027, allocations: 3.938 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001933/1.027, allocations: 160.5 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.027, allocations: 8 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.027, allocations: 4 kB / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.027, allocations: 0 / 1.122 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/1.027, allocations: 20.03 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.027, allocations: 3.953 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/1.027, allocations: 88.28 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/1.027, allocations: 7.812 kB / 1.123 GB, free: 39.5 MB / 0.7448 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 7.956e-05/1.027, allocations: 115.5 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/1.027, allocations: 19.19 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/1.027, allocations: 12.5 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.027, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.027, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.027, allocations: 8.984 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/1.027, allocations: 196.4 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.027, allocations: 0 / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/1.028, allocations: 11.27 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.028, allocations: 0.6875 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.028, allocations: 4 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.028, allocations: 0.9375 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.028, allocations: 0 / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/1.028, allocations: 218.7 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/1.028, allocations: 88.95 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.028, allocations: 0.6875 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/1.028, allocations: 8.172 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/1.028, allocations: 11.89 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/1.028, allocations: 11.45 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.118e-05/1.028, allocations: 108.5 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 4 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000308/1.028, allocations: 82.89 kB / 1.123 GB, free: 38.66 MB / 0.7448 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.0005145/1.029, allocations: 0.8708 MB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002182/1.029, allocations: 161.6 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.029, allocations: 0.6562 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/1.029, allocations: 47.48 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/1.029, allocations: 3.938 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/1.03, allocations: 232.5 kB / 1.125 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/1.03, allocations: 0.7174 MB / 1.125 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.977e-05/1.03, allocations: 12.73 kB / 1.125 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/1.03, allocations: 27.09 kB / 1.125 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/1.03, allocations: 0 / 1.125 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.047, allocations: 3.608 MB / 1.129 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.047, allocations: 159.6 kB / 1.129 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.764, allocations: 1.375 kB / 1.129 GB, free: 34.45 MB / 0.7448 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)