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.000778/0.000778, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007925/0.0007923, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.256/1.256, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6322/0.6322, allocations: 113.7 MB / 405.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 9.656 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001693/0.1969, allocations: 1.106 MB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.1978, allocations: 474.8 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1979, allocations: 0 / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.442e-05/0.198, allocations: 11.92 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.198, allocations: 3.938 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.1987, allocations: 191.4 kB / 0.5586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1989, allocations: 123.7 kB / 0.5587 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1989, allocations: 3.984 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.199, allocations: 55.89 kB / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.1991, allocations: 39.84 kB / 0.5588 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1991, allocations: 8 kB / 0.5588 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1994, allocations: 147.8 kB / 0.559 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1994, allocations: 35.89 kB / 0.559 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.1995, allocations: 41.69 kB / 0.5591 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1997, allocations: 171.8 kB / 0.5592 GB, free: 9.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1997, allocations: 0 / 0.5592 GB, free: 9.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1998, allocations: 0 / 0.5592 GB, free: 9.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1998, allocations: 0 / 0.5592 GB, free: 9.262 MB / 430.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.0005537/0.2003, allocations: 423 kB / 0.5596 GB, free: 8.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2004, allocations: 8.031 kB / 0.5596 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.2004, allocations: 38.56 kB / 0.5597 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.2005, allocations: 11.91 kB / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2007, allocations: 198.9 kB / 0.5599 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2007, allocations: 7.984 kB / 0.5599 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.2008, allocations: 15.95 kB / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2009, allocations: 91.27 kB / 0.56 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2009, allocations: 0 / 0.56 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.201, allocations: 0 / 0.56 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.201, allocations: 4 kB / 0.56 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.201, allocations: 35.92 kB / 0.56 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.2013, allocations: 238.4 kB / 0.5602 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2014, allocations: 93.12 kB / 0.5603 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.2015, allocations: 57.84 kB / 0.5604 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.2015, allocations: 3.953 kB / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.2018, allocations: 109 kB / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.2018, allocations: 4 kB / 0.5605 GB, free: 7.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003337/0.2021, allocations: 177.5 kB / 0.5607 GB, free: 7.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.2022, allocations: 89.09 kB / 0.5608 GB, free: 7.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2023, allocations: 147.9 kB / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2024, allocations: 37.69 kB / 0.5609 GB, free: 7.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.2025, allocations: 96.52 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.2025, allocations: 43.45 kB / 0.5611 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.2025, allocations: 4 kB / 0.5611 GB, free: 7.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2027, allocations: 326.8 kB / 0.5614 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.2028, allocations: 40.17 kB / 0.5614 GB, free: 6.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.203, allocations: 199.7 kB / 0.5616 GB, free: 6.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.2031, allocations: 59.64 kB / 0.5617 GB, free: 6.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2031, allocations: 0 / 0.5617 GB, free: 6.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002137/0.2033, allocations: 157.5 kB / 0.5618 GB, free: 6.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2033, allocations: 7.938 kB / 0.5618 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.2034, allocations: 7.984 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2034, allocations: 4 kB / 0.5618 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.2034, allocations: 11.94 kB / 0.5618 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2035, allocations: 0 / 0.5618 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.2037, allocations: 91.75 kB / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2037, allocations: 4 kB / 0.5619 GB, free: 6.156 MB / 430.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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.2039, allocations: 130.5 kB / 0.5621 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.2039, allocations: 19.77 kB / 0.5621 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.2039, allocations: 20.7 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2039, allocations: 0 / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2039, allocations: 4 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.204, allocations: 0 / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2041, allocations: 189.6 kB / 0.5623 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2041, allocations: 0 / 0.5623 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.2041, allocations: 15.92 kB / 0.5623 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2042, allocations: 3.953 kB / 0.5623 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2042, allocations: 0 / 0.5623 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2042, allocations: 4 kB / 0.5623 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2042, allocations: 4 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2044, allocations: 169.9 kB / 0.5625 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2044, allocations: 92.86 kB / 0.5626 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2045, allocations: 15.89 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.2045, allocations: 3.984 kB / 0.5626 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2046, allocations: 4 kB / 0.5626 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2046, allocations: 8 kB / 0.5626 GB, free: 5.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.651e-05/0.2047, allocations: 117 kB / 0.5627 GB, free: 5.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.506e-06/0.2047, allocations: 0 / 0.5627 GB, free: 5.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.205, allocations: 79.86 kB / 0.5628 GB, free: 5.195 MB / 430.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 (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.0006862/0.2057, allocations: 0.777 MB / 0.5635 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.2059, allocations: 164.1 kB / 0.5637 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.206, allocations: 0 / 0.5637 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.206, allocations: 47.92 kB / 0.5637 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.2062, allocations: 13.62 kB / 0.5638 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2075, allocations: 0.8025 MB / 0.5645 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2078, allocations: 0.7083 MB / 0.5652 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.2079, allocations: 8.656 kB / 0.5652 GB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.2079, allocations: 27.44 kB / 0.5653 GB, free: 2.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2079, allocations: 0 / 0.5653 GB, free: 2.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.2237, allocations: 3.623 MB / 0.5688 GB, free: 15.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.224, allocations: 187.1 kB / 0.569 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.925, allocations: 0 / 0.569 GB, free: 14.83 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/linux/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) Environment - environmentSimulation: