Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001245, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008599, allocations: 86.48 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.255e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1887, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7059/0.8946, allocations: 132.2 MB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.8949, allocations: 71.02 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.9061, allocations: 3.289 MB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9061, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9061, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008982/0.907, allocations: 0.5264 MB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.9071, allocations: 12.03 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.9072, allocations: 46.22 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.9072, allocations: 23.91 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.9079, allocations: 283.8 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.9079, allocations: 15.69 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.908, allocations: 31.55 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.9084, allocations: 244.2 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9084, allocations: 0 / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.9084, allocations: 7.984 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.9085, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.9086, allocations: 89.41 kB / 1.026 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.9091, allocations: 380.7 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.9094, allocations: 228.9 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.9096, allocations: 117 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.9096, allocations: 8.125 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/0.91, allocations: 267.3 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.91, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.000694/0.9107, allocations: 404.1 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.9108, allocations: 151.4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.9109, allocations: 139.8 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.911, allocations: 48.45 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.9111, allocations: 107.9 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.9111, allocations: 57.25 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.9112, allocations: 11.81 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9113, allocations: 329.4 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.9117, allocations: 176.2 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.912, allocations: 223.4 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.9123, allocations: 215.1 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9123, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001052/0.9133, allocations: 0.7242 MB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.9134, allocations: 79.12 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9135, allocations: 4 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.9135, allocations: 8.047 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9136, allocations: 19.92 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.9136, allocations: 5.328 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.914, allocations: 74.77 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.9141, allocations: 27.3 kB / 1.029 GB, free: 10.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.000156/0.9142, allocations: 142.7 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.9143, allocations: 23.77 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.9143, allocations: 19.61 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9144, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.9144, allocations: 4 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9144, allocations: 0 / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.9146, allocations: 266.6 kB / 1.03 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9146, allocations: 0 / 1.03 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.9147, allocations: 12 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.9147, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.9148, allocations: 23.17 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9148, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9148, allocations: 4 kB / 1.03 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.9154, allocations: 480.4 kB / 1.03 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.9155, allocations: 85.02 kB / 1.03 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.9156, allocations: 26.23 kB / 1.03 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.9157, allocations: 15.97 kB / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.9158, allocations: 27.84 kB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.9159, allocations: 19.86 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.9159, allocations: 129 kB / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9159, allocations: 0 / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003302/0.9163, allocations: 79.73 kB / 1.03 GB, free: 9.609 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001123/0.9174, allocations: 1.267 MB / 1.032 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000836/0.9183, allocations: 0.6704 MB / 1.032 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9183, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.9185, allocations: 157.8 kB / 1.032 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.9187, allocations: 11.62 kB / 1.033 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.9195, allocations: 374.9 kB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.9199, allocations: 0.7209 MB / 1.034 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.92, allocations: 13.2 kB / 1.034 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.92, allocations: 39.67 kB / 1.034 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.92, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.9374, allocations: 4.654 MB / 1.038 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/0.9378, allocations: 167.3 kB / 1.038 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.648, allocations: 3.656 kB / 1.038 GB, free: 1.934 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)