Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 106.5 kB / 15.99 MB, free: 6.355 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.001142/0.001142, allocations: 191.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6354/0.6354, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 493.2 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2603, allocations: 76.16 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002012/0.2624, allocations: 1.472 MB / 0.5574 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.2631, allocations: 497.8 kB / 0.5579 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2631, allocations: 1.375 kB / 0.5579 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.468e-05/0.2632, allocations: 7.938 kB / 0.5579 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.2632, allocations: 8.281 kB / 0.5579 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.2639, allocations: 210.8 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.264, allocations: 145.1 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.2641, allocations: 10.77 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.2641, allocations: 63.31 kB / 0.5583 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.2642, allocations: 36.8 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2642, allocations: 10.84 kB / 0.5584 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2645, allocations: 171.8 kB / 0.5586 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.2645, allocations: 37.05 kB / 0.5586 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.2646, allocations: 53.36 kB / 0.5586 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2649, allocations: 233 kB / 0.5589 GB, free: 34.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2649, allocations: 3.062 kB / 0.5589 GB, free: 34.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2649, allocations: 0 / 0.5589 GB, free: 34.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2649, allocations: 0 / 0.5589 GB, free: 34.64 MB / 446.1 MB 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.0004293/0.2653, allocations: 448.3 kB / 0.5593 GB, free: 34.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2654, allocations: 10.45 kB / 0.5593 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.2654, allocations: 37.31 kB / 0.5593 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.2655, allocations: 18.95 kB / 0.5594 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2656, allocations: 210.4 kB / 0.5596 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2656, allocations: 8.562 kB / 0.5596 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2657, allocations: 9.438 kB / 0.5596 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2658, allocations: 83.22 kB / 0.5597 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2658, allocations: 3.938 kB / 0.5597 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2658, allocations: 4.656 kB / 0.5597 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2658, allocations: 2.344 kB / 0.5597 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.2659, allocations: 40.48 kB / 0.5597 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.2661, allocations: 227.2 kB / 0.5599 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.612e-05/0.2662, allocations: 79.83 kB / 0.56 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.2662, allocations: 55.53 kB / 0.5601 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2662, allocations: 0.7031 kB / 0.5601 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.2664, allocations: 115.6 kB / 0.5602 GB, free: 33.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2664, allocations: 1.156 kB / 0.5602 GB, free: 33.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002899/0.2667, allocations: 189 kB / 0.5603 GB, free: 33.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2668, allocations: 84.03 kB / 0.5604 GB, free: 33.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.2669, allocations: 153.9 kB / 0.5606 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2669, allocations: 41.23 kB / 0.5606 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.2669, allocations: 99.69 kB / 0.5607 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.267, allocations: 40.33 kB / 0.5607 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.267, allocations: 53.45 kB / 0.5608 GB, free: 32.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.2671, allocations: 323.9 kB / 0.5611 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.2672, allocations: 41.23 kB / 0.5611 GB, free: 32.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2673, allocations: 197.5 kB / 0.5613 GB, free: 32.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2674, allocations: 104.1 kB / 0.5614 GB, free: 32.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2674, allocations: 7.75 kB / 0.5614 GB, free: 32.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001926/0.2676, allocations: 163.7 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2677, allocations: 6.266 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.2677, allocations: 3.422 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2677, allocations: 2.562 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.2678, allocations: 11.66 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2678, allocations: 1.344 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.268, allocations: 73.45 kB / 0.5617 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.268, allocations: 8.875 kB / 0.5617 GB, free: 32.34 MB / 446.1 MB 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 7.717e-05/0.2681, allocations: 135.6 kB / 0.5618 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2682, allocations: 12.61 kB / 0.5618 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.2682, allocations: 18.08 kB / 0.5619 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2682, allocations: 1.375 kB / 0.5619 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2682, allocations: 3.016 kB / 0.5619 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2682, allocations: 0 / 0.5619 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.143e-05/0.2683, allocations: 200.9 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2683, allocations: 0.5625 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.2683, allocations: 7.812 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2683, allocations: 0.6562 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.2684, allocations: 5.531 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2684, allocations: 1.75 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2684, allocations: 1.656 kB / 0.5621 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.2686, allocations: 188.3 kB / 0.5622 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.2686, allocations: 85.58 kB / 0.5623 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2686, allocations: 4.125 kB / 0.5623 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.2686, allocations: 3.266 kB / 0.5623 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2687, allocations: 10.64 kB / 0.5623 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2687, allocations: 3.875 kB / 0.5624 GB, free: 31.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.2688, allocations: 110.4 kB / 0.5625 GB, free: 31.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2688, allocations: 1.125 kB / 0.5625 GB, free: 31.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.269, allocations: 76.09 kB / 0.5625 GB, free: 31.67 MB / 446.1 MB 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.000435/0.2695, allocations: 0.7889 MB / 0.5633 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2697, allocations: 165.3 kB / 0.5635 GB, free: 30.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2697, allocations: 2.156 kB / 0.5635 GB, free: 30.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.2698, allocations: 42.56 kB / 0.5635 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.2699, allocations: 10.55 kB / 0.5635 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2712, allocations: 1.726 MB / 0.5652 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.2713, allocations: 0.7081 MB / 0.5659 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.2713, allocations: 17.28 kB / 0.5659 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2714, allocations: 25.94 kB / 0.5659 GB, free: 28.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2714, allocations: 2.094 kB / 0.5659 GB, free: 28.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/2.165, allocations: 3.825 MB / 0.5697 GB, free: 28.44 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/2.165, allocations: 202.5 kB / 0.5699 GB, free: 28.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/3.76, allocations: 3.938 kB / 0.5699 GB, free: 28.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)