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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001336, allocations: 105.4 kB / 16.36 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 189.9 kB / 17.29 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 76.41 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2793, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003206/0.2826, allocations: 1.425 MB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.2836, allocations: 498.3 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.2837, allocations: 4 kB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.901e-05/0.2838, allocations: 3.938 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.2838, allocations: 15.86 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.2846, allocations: 230.8 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2849, allocations: 155.7 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.2849, allocations: 8 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.285, allocations: 51.91 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.2851, allocations: 39.83 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2852, allocations: 12 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.2854, allocations: 163.8 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.2855, allocations: 35.91 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.2856, allocations: 59.72 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.286, allocations: 231.4 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.286, allocations: 0 / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.286, allocations: 0 / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.286, allocations: 4 kB / 0.7876 GB, free: 268 kB / 0.6544 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.4614/0.7474, allocations: 445.2 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.7475, allocations: 11.58 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.7476, allocations: 12.84 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.7478, allocations: 208.5 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.7478, allocations: 11.39 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.7479, allocations: 13.06 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.748, allocations: 88.78 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.748, allocations: 192 / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.7481, allocations: 7.656 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7481, allocations: 0 / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.7482, allocations: 36.22 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.7483, allocations: 228.2 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.7485, allocations: 86.86 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.7485, allocations: 56.14 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.7485, allocations: 0.75 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.7488, allocations: 108.1 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.7488, allocations: 0 / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003193/0.7491, allocations: 186.9 kB / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.7492, allocations: 91.31 kB / 0.7891 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.7493, allocations: 145.7 kB / 0.7893 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.7493, allocations: 35.5 kB / 0.7893 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.7493, allocations: 103 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.7494, allocations: 42.45 kB / 0.7894 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.7495, allocations: 50.8 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.7495, allocations: 325.8 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.7496, allocations: 42.73 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.7497, allocations: 205.5 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.7499, allocations: 96.23 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7499, allocations: 0.5938 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001889/0.7501, allocations: 165.3 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7501, allocations: 7.938 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.7501, allocations: 2.625 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7501, allocations: 3.797 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.7502, allocations: 7.688 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7502, allocations: 6 kB / 0.7903 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.7505, allocations: 72.98 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.7505, allocations: 5.469 kB / 0.7904 GB, free: 47.34 MB / 0.6544 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.074e-05/0.7506, allocations: 138.9 kB / 0.7905 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.7506, allocations: 13.41 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.7507, allocations: 17.11 kB / 0.7906 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7507, allocations: 3.75 kB / 0.7906 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7507, allocations: 2.297 kB / 0.7906 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7507, allocations: 1.625 kB / 0.7906 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.7508, allocations: 194.8 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.7508, allocations: 4.969 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.7509, allocations: 7.594 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7509, allocations: 2.5 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.7509, allocations: 1.281 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7509, allocations: 4.344 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7509, allocations: 0.5625 kB / 0.7908 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.7511, allocations: 183.9 kB / 0.7909 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.7512, allocations: 95.42 kB / 0.791 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.7512, allocations: 7.062 kB / 0.791 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.7512, allocations: 7.25 kB / 0.791 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.7513, allocations: 8.344 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7513, allocations: 1.875 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.7513, allocations: 118.8 kB / 0.7912 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7514, allocations: 0 / 0.7912 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000331/0.7517, allocations: 72.33 kB / 0.7912 GB, free: 46.76 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002184/0.7519, allocations: 165.2 kB / 0.7914 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.7522, allocations: 166.5 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7522, allocations: 2.438 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.7522, allocations: 46.77 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.7524, allocations: 11.5 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.7528, allocations: 251.8 kB / 0.7919 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.7529, allocations: 0.7064 MB / 0.7925 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.753, allocations: 12.62 kB / 0.7926 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.753, allocations: 0 / 0.7926 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.003869/0.7569, allocations: 2.441 MB / 0.7949 GB, free: 45.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (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 & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)