Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001059/0.001059, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 88.66 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.995e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7916/1.035, allocations: 132.3 MB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.036, allocations: 77.08 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006753/1.042, allocations: 2.414 MB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/1.042, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.042, allocations: 4 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005178/1.043, allocations: 0.5 MB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.043, allocations: 16.02 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/1.043, allocations: 38.5 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/1.043, allocations: 22.92 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.043, allocations: 178.9 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.043, allocations: 7.938 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/1.044, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/1.044, allocations: 242.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.044, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.044, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.044, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/1.044, allocations: 148.8 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/1.044, allocations: 214.8 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.045, allocations: 0.5432 MB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/1.045, allocations: 0.5157 MB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/1.045, allocations: 0 / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/1.046, allocations: 394.2 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.503e-06/1.046, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.000654/1.046, allocations: 0.4902 MB / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.046, allocations: 104.6 kB / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/1.046, allocations: 95.56 kB / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.047, allocations: 29.7 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/1.047, allocations: 88.09 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.047, allocations: 76.73 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.047, allocations: 0 / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.047, allocations: 333.6 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/1.047, allocations: 79.61 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/1.047, allocations: 82.98 kB / 1.028 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.047, allocations: 172.2 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.047, allocations: 0 / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003886/1.048, allocations: 328.4 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.048, allocations: 80.2 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.048, allocations: 0 / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.048, allocations: 0 / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/1.048, allocations: 4 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.048, allocations: 3.984 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/1.048, allocations: 23.73 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.048, allocations: 8 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002262/1.048, allocations: 254.9 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.048, allocations: 24 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/1.048, allocations: 9.328 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.048, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.048, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/1.048, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/1.048, allocations: 281.6 kB / 1.029 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.048, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/1.048, allocations: 0.875 kB / 1.029 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.048, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/1.048, allocations: 19.98 kB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.048, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.049, allocations: 3.938 kB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/1.05, allocations: 1.27 MB / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/1.05, allocations: 88.97 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.05, allocations: 87.11 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/1.05, allocations: 8 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/1.05, allocations: 19.33 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.05, allocations: 19.98 kB / 1.03 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.885e-05/1.05, allocations: 82.59 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.05, allocations: 3.938 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003245/1.05, allocations: 72 kB / 1.03 GB, free: 10.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001856/1.052, allocations: 1.963 MB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.054, allocations: 1.961 MB / 1.034 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.054, allocations: 4 kB / 1.034 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.055, allocations: 2.014 MB / 1.036 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/1.056, allocations: 8 kB / 1.036 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/1.056, allocations: 324.1 kB / 1.036 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/1.057, allocations: 0.7208 MB / 1.037 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.324e-05/1.057, allocations: 0 / 1.037 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/1.057, allocations: 35.23 kB / 1.037 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.057, allocations: 0 / 1.037 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/1.072, allocations: 4.253 MB / 1.041 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.073, allocations: 210.3 kB / 1.042 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.748, allocations: 0 / 1.042 GB, free: 1.289 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)