Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.255/2.255, allocations: 248.5 MB / 261.1 MB, free: 6.035 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.001421/0.001421, allocations: 174.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001116/0.001116, allocations: 96.12 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.608e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8813/1.088, allocations: 132 MB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004765/1.089, allocations: 77.39 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/1.102, allocations: 2.375 MB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.102, allocations: 3.938 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.102, allocations: 0 / 1.022 GB, free: 0.8125 MB / 0.6355 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.000638/1.103, allocations: 430.9 kB / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.103, allocations: 8.031 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.604e-05/1.103, allocations: 41.61 kB / 1.022 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.103, allocations: 19.86 kB / 1.022 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.103, allocations: 174.9 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.103, allocations: 3.25 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/1.103, allocations: 4 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/1.104, allocations: 179.6 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.104, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/1.104, allocations: 7.984 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.104, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/1.104, allocations: 78.98 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/1.104, allocations: 230.3 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/1.104, allocations: 140.5 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.105, allocations: 111.6 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/1.105, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/1.105, allocations: 200.9 kB / 1.023 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.785e-06/1.105, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0009202/1.106, allocations: 456.5 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.106, allocations: 94.23 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/1.106, allocations: 111.7 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.151e-05/1.106, allocations: 57.55 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/1.106, allocations: 84.86 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.107, allocations: 99.83 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/1.107, allocations: 7.625 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.107, allocations: 339.7 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/1.107, allocations: 172.3 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/1.108, allocations: 232.4 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/1.108, allocations: 203.9 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.108, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009789/1.109, allocations: 489.7 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.109, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.109, allocations: 7.984 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.109, allocations: 4 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/1.109, allocations: 15.44 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.109, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/1.109, allocations: 39.33 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/1.11, allocations: 11 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * Algorithm blocks: 0 * 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.0002828/1.11, allocations: 181.8 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/1.11, allocations: 7.891 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/1.11, allocations: 16.59 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.11, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.11, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.11, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.11, allocations: 214.2 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.11, allocations: 3.984 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/1.11, allocations: 6.938 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/1.11, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.11, allocations: 12 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.11, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.11, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008762/1.111, allocations: 481.9 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/1.111, allocations: 92.89 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.111, allocations: 34.97 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/1.112, allocations: 7.984 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/1.112, allocations: 8 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/1.112, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.92e-05/1.112, allocations: 78.66 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.112, allocations: 3.938 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004354/1.112, allocations: 55.12 kB / 1.027 GB, free: 12.17 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: 35 (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],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001745/1.114, allocations: 1.136 MB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000733/1.115, allocations: 351 kB / 1.028 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.115, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/1.115, allocations: 127.5 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/1.115, allocations: 7.938 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/1.116, allocations: 302.8 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/1.116, allocations: 0.7168 MB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.045e-05/1.117, allocations: 17.2 kB / 1.03 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/1.117, allocations: 39.36 kB / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/1.117, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/1.142, allocations: 3.493 MB / 1.033 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/1.142, allocations: 209 kB / 1.033 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.619, allocations: 2.531 kB / 1.033 GB, free: 6.203 MB / 0.6511 GB