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.31/2.31, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001497/0.001497, allocations: 171.9 kB / 315.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001109, allocations: 92.44 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.197e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9154/1.128, allocations: 132.2 MB / 1.013 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.128, allocations: 74.14 kB / 1.013 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01005/1.138, allocations: 2.365 MB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.138, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.138, allocations: 4 kB / 1.016 GB, free: 4.543 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.0005806/1.139, allocations: 425.9 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.139, allocations: 12.02 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/1.139, allocations: 11.91 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.139, allocations: 174.9 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.139, allocations: 3.188 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/1.139, allocations: 4 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001393/1.139, allocations: 79.78 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/1.14, allocations: 183.7 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.14, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/1.14, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.14, allocations: 4 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/1.14, allocations: 188.7 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/1.14, allocations: 140.5 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/1.14, allocations: 111 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/1.14, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/1.141, allocations: 201.4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/1.141, allocations: 4 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0009182/1.142, allocations: 446.3 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/1.142, allocations: 94.98 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.142, allocations: 112.3 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/1.142, allocations: 49.44 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/1.142, allocations: 80.92 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/1.142, allocations: 102.1 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/1.142, allocations: 3.938 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.143, allocations: 342.3 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/1.143, allocations: 158.5 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/1.143, allocations: 227.7 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/1.144, allocations: 199.2 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.144, allocations: 8 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000906/1.145, allocations: 452 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.145, allocations: 11.94 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.145, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.145, allocations: 4 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.145, allocations: 21.61 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.145, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/1.145, allocations: 27.59 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/1.145, allocations: 16.06 kB / 1.019 GB, free: 1.184 MB / 0.6355 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.0002576/1.145, allocations: 173.7 kB / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007687/1.146, allocations: 441 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/1.146, allocations: 11.81 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/1.146, allocations: 5.969 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.146, allocations: 0 / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.146, allocations: 4 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.146, allocations: 3.984 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.146, allocations: 181.3 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.146, allocations: 0 / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/1.146, allocations: 1.438 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.146, allocations: 4 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.147, allocations: 7.984 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/1.147, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.147, allocations: 3.938 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/1.147, allocations: 482.5 kB / 1.021 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/1.147, allocations: 89.16 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.148, allocations: 46.02 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/1.148, allocations: 4 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/1.148, allocations: 7.984 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/1.148, allocations: 11.98 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.423e-05/1.148, allocations: 82.16 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.148, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000471/1.148, allocations: 51.92 kB / 1.021 GB, free: 15.76 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.001642/1.15, allocations: 1.123 MB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006361/1.151, allocations: 344.9 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.151, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/1.151, allocations: 122.2 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.151, allocations: 7.984 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/1.152, allocations: 287.8 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.152, allocations: 0.7209 MB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.959e-05/1.152, allocations: 21.19 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/1.152, allocations: 40.44 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.152, allocations: 0 / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/1.198, allocations: 3.164 MB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/1.198, allocations: 198.1 kB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.63, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.6511 GB