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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6033/0.6033, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 354.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.38 kB / 427.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 72.31 MB / 0.5689 GB, free: 1.598 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6909, allocations: 101.9 MB / 0.6685 GB, free: 2.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.6911, allocations: 75.95 kB / 0.6685 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.702, allocations: 3.983 MB / 0.6724 GB, free: 14.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.702, allocations: 0 / 0.6724 GB, free: 14.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.702, allocations: 4 kB / 0.6724 GB, free: 14.35 MB / 474.7 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.0004897/0.7025, allocations: 435.5 kB / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7026, allocations: 8.031 kB / 0.6728 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.7026, allocations: 38.55 kB / 0.6729 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.7027, allocations: 23.77 kB / 0.6729 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.703, allocations: 214.8 kB / 0.6731 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.703, allocations: 11.98 kB / 0.6731 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.703, allocations: 12 kB / 0.6731 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7032, allocations: 91.27 kB / 0.6732 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.7032, allocations: 3.938 kB / 0.6732 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7032, allocations: 0 / 0.6732 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.7032, allocations: 0 / 0.6732 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.7033, allocations: 51.89 kB / 0.6733 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.7036, allocations: 246.5 kB / 0.6735 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7037, allocations: 85.22 kB / 0.6736 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.7037, allocations: 0 / 0.6736 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.7039, allocations: 113.1 kB / 0.6737 GB, free: 12.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.7039, allocations: 0 / 0.6737 GB, free: 12.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004405/0.7044, allocations: 364.1 kB / 0.674 GB, free: 12.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.7044, allocations: 81.11 kB / 0.6741 GB, free: 12.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7045, allocations: 143.6 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.7046, allocations: 33.7 kB / 0.6743 GB, free: 12.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.7046, allocations: 104.6 kB / 0.6744 GB, free: 12.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.7047, allocations: 31.56 kB / 0.6744 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.7047, allocations: 4 kB / 0.6744 GB, free: 12.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7048, allocations: 330.8 kB / 0.6747 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.7049, allocations: 44.16 kB / 0.6748 GB, free: 11.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.7051, allocations: 213.5 kB / 0.675 GB, free: 11.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.7052, allocations: 71.28 kB / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7052, allocations: 4 kB / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002484/0.7055, allocations: 181.8 kB / 0.6752 GB, free: 11.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7055, allocations: 4 kB / 0.6752 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.7055, allocations: 4 kB / 0.6752 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.7055, allocations: 3.984 kB / 0.6752 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.7056, allocations: 8 kB / 0.6753 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7056, allocations: 160 / 0.6753 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.7059, allocations: 83.91 kB / 0.6753 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.7059, allocations: 8 kB / 0.6753 GB, free: 11.01 MB / 474.7 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.0001224/0.7061, allocations: 141.8 kB / 0.6755 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.7061, allocations: 15.77 kB / 0.6755 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.7061, allocations: 12.72 kB / 0.6755 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7061, allocations: 0 / 0.6755 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7062, allocations: 4 kB / 0.6755 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7062, allocations: 3.984 kB / 0.6755 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.7063, allocations: 189.6 kB / 0.6757 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7063, allocations: 0 / 0.6757 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.7064, allocations: 12 kB / 0.6757 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7064, allocations: 4 kB / 0.6757 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7064, allocations: 11.95 kB / 0.6757 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.7064, allocations: 3.984 kB / 0.6757 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7064, allocations: 3.984 kB / 0.6757 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.7067, allocations: 207.3 kB / 0.6759 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.7067, allocations: 85.02 kB / 0.676 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.7068, allocations: 15.95 kB / 0.676 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.7068, allocations: 0 / 0.676 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.7069, allocations: 7.984 kB / 0.676 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.7069, allocations: 4 kB / 0.676 GB, free: 10.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.7069, allocations: 117.1 kB / 0.6761 GB, free: 10.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.707, allocations: 3.938 kB / 0.6761 GB, free: 10.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.7073, allocations: 79.92 kB / 0.6762 GB, free: 9.996 MB / 474.7 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.0006368/0.7079, allocations: 0.8719 MB / 0.6771 GB, free: 9.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.7082, allocations: 167.3 kB / 0.6772 GB, free: 8.914 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7082, allocations: 0 / 0.6772 GB, free: 8.914 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.7083, allocations: 39.98 kB / 0.6773 GB, free: 8.875 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.7084, allocations: 15.86 kB / 0.6773 GB, free: 8.859 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.7094, allocations: 0.9577 MB / 0.6782 GB, free: 7.848 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.7096, allocations: 0.7121 MB / 0.6789 GB, free: 7.109 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.21e-05/0.7097, allocations: 12.66 kB / 0.6789 GB, free: 7.098 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.7097, allocations: 23.44 kB / 0.679 GB, free: 7.074 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7098, allocations: 0 / 0.679 GB, free: 7.074 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.7226, allocations: 3.577 MB / 0.6824 GB, free: 3.648 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.7228, allocations: 181.5 kB / 0.6826 GB, free: 3.406 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.238, allocations: 0 / 0.6826 GB, free: 3.406 MB / 474.7 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)