Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.205/2.205, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.001415/0.001415, allocations: 186.2 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 0.5662 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001176, allocations: 83.94 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.174e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9201/1.121, allocations: 132.3 MB / 1.013 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.122, allocations: 70.34 kB / 1.013 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01737/1.139, allocations: 3.264 MB / 1.017 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/1.139, allocations: 0 / 1.017 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.139, allocations: 4 kB / 1.017 GB, free: 3.949 MB / 0.6355 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.001347/1.14, allocations: 0.5321 MB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.141, allocations: 12.03 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/1.141, allocations: 31.33 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/1.142, allocations: 276.4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/1.142, allocations: 11.36 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.142, allocations: 27.98 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002822/1.142, allocations: 81.22 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/1.143, allocations: 237.7 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.143, allocations: 4 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/1.143, allocations: 3.984 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.143, allocations: 4 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/1.143, allocations: 347.4 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/1.144, allocations: 214.3 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/1.144, allocations: 106.7 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/1.144, allocations: 4 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/1.145, allocations: 261.2 kB / 1.019 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 3.887e-06/1.145, allocations: 0 / 1.019 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001065/1.146, allocations: 392 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.146, allocations: 155.4 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/1.146, allocations: 129 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/1.146, allocations: 41.45 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.146, allocations: 103.8 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/1.146, allocations: 57.39 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/1.147, allocations: 4 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.147, allocations: 332.3 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/1.147, allocations: 157.9 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.148, allocations: 206.2 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/1.148, allocations: 149.1 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.148, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001736/1.15, allocations: 0.6133 MB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.15, allocations: 89.52 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.15, allocations: 0 / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.15, allocations: 0 / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.15, allocations: 23.67 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.15, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/1.151, allocations: 75.77 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/1.151, allocations: 22.55 kB / 1.021 GB, free: 15.66 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.0002413/1.151, allocations: 135 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009571/1.152, allocations: 381 kB / 1.022 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/1.152, allocations: 27.75 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/1.152, allocations: 14.3 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.152, allocations: 4 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.153, allocations: 4.062 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.153, allocations: 11.88 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/1.153, allocations: 230.5 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.153, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.153, allocations: 11 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.153, allocations: 8 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/1.153, allocations: 15.92 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.153, allocations: 0 / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.153, allocations: 4 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/1.154, allocations: 465.6 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/1.154, allocations: 96.48 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.154, allocations: 15.17 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.155, allocations: 18.17 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/1.155, allocations: 27.09 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/1.155, allocations: 23.91 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001118/1.155, allocations: 115.8 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.155, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005804/1.155, allocations: 75.92 kB / 1.023 GB, free: 14.11 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.00159/1.157, allocations: 1.239 MB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001235/1.158, allocations: 0.6489 MB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.158, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/1.159, allocations: 143.6 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.159, allocations: 10.86 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.16, allocations: 356.2 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/1.161, allocations: 0.7204 MB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.207e-05/1.161, allocations: 13.2 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/1.161, allocations: 41.48 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.161, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/1.201, allocations: 4.25 MB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/1.202, allocations: 149 kB / 1.03 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.753, allocations: 0 / 1.03 GB, free: 6.84 MB / 0.6511 GB