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.448/1.448, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 178 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007499/0.0007506, allocations: 92.28 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 9.594 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001448/0.2839, allocations: 1.062 MB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.2846, allocations: 336 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.2846, allocations: 4 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.48e-05/0.2847, allocations: 0 / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.2847, allocations: 3.938 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2851, allocations: 63.86 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.2852, allocations: 47.83 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.2853, allocations: 4 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.2853, allocations: 15.98 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.2853, allocations: 19.92 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2854, allocations: 7.984 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2855, allocations: 63.94 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.2855, allocations: 23.92 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.2856, allocations: 49.64 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2857, allocations: 107.8 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2858, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2858, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2858, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 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.0004709/0.2863, allocations: 0.5046 MB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.2863, allocations: 12.03 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.2864, allocations: 46.55 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2865, allocations: 15.81 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2867, allocations: 178.9 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2867, allocations: 4 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.2867, allocations: 8 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.287, allocations: 241.4 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.287, allocations: 4 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.287, allocations: 7.938 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.287, allocations: 7.922 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2872, allocations: 144 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.2873, allocations: 197.3 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2876, allocations: 0.5337 MB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2879, allocations: 0.5204 MB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2879, allocations: 0 / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.2883, allocations: 403.7 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.152e-06/0.2883, allocations: 0 / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0006319/0.2889, allocations: 0.6861 MB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.289, allocations: 101.1 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.289, allocations: 105.8 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.289, allocations: 29.7 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.2891, allocations: 80.8 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.2891, allocations: 75 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.2891, allocations: 4.031 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.2892, allocations: 326.8 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.2893, allocations: 83.97 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.2893, allocations: 83.98 kB / 0.9063 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2895, allocations: 170.9 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2895, allocations: 4 kB / 0.9065 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002523/0.2897, allocations: 343.9 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.2898, allocations: 73.66 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2898, allocations: 0 / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2898, allocations: 4.062 kB / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.2899, allocations: 0 / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2899, allocations: 3.984 kB / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2901, allocations: 19.84 kB / 0.9069 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2901, allocations: 8 kB / 0.9069 GB, free: 56.73 MB / 0.6042 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 () * Number of clocked 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.0002002/0.2903, allocations: 269.6 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.2903, allocations: 23.81 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.2903, allocations: 5.219 kB / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2903, allocations: 0 / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2904, allocations: 0 / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2904, allocations: 4 kB / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2905, allocations: 253.3 kB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2905, allocations: 0 / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2905, allocations: 0 / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2905, allocations: 7.984 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2906, allocations: 12 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2906, allocations: 0 / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2906, allocations: 0 / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.2914, allocations: 1.283 MB / 0.9087 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.2915, allocations: 100.8 kB / 0.9088 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.2916, allocations: 67.95 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.2916, allocations: 11.98 kB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2917, allocations: 8 kB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2917, allocations: 19.98 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.2917, allocations: 75.28 kB / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2917, allocations: 0 / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002559/0.292, allocations: 64 kB / 0.909 GB, free: 54.43 MB / 0.6042 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) * Number of clocked states: 0 () * 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.001356/0.2934, allocations: 1.977 MB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.2945, allocations: 1.964 MB / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2945, allocations: 0 / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.2955, allocations: 2.022 MB / 0.9149 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.2958, allocations: 16 kB / 0.9149 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.2964, allocations: 408.2 kB / 0.9153 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2966, allocations: 0.713 MB / 0.916 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.2966, allocations: 0 / 0.916 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.2966, allocations: 31.42 kB / 0.916 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2966, allocations: 0 / 0.916 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.3112, allocations: 3.881 MB / 0.9198 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.3114, allocations: 250.1 kB / 0.92 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.187, allocations: 0 / 0.92 GB, free: 43.16 MB / 0.6042 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)