Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 188.4 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 90.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7026, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.9051, allocations: 138.9 MB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.9054, allocations: 80.8 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006627/0.912, allocations: 2.409 MB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9121, allocations: 0 / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.9121, allocations: 0.5938 kB / 1.111 GB, free: 8.77 MB / 0.7136 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.0005144/0.9126, allocations: 0.5106 MB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.9127, allocations: 8.719 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.9128, allocations: 15.89 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.913, allocations: 175.5 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.913, allocations: 4.625 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.913, allocations: 4 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001973/0.9133, allocations: 141.8 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.9136, allocations: 241.8 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9136, allocations: 0.5312 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.9136, allocations: 3.938 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9136, allocations: 0.5938 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.9138, allocations: 186.5 kB / 1.113 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.9144, allocations: 0.5347 MB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.9148, allocations: 0.5204 MB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.9148, allocations: 1.156 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.9153, allocations: 388.9 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.9153, allocations: 1.688 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005926/0.9159, allocations: 412.2 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.916, allocations: 108 kB / 1.115 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.916, allocations: 89 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.9161, allocations: 29.7 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.9161, allocations: 80.92 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.9162, allocations: 78.95 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.9162, allocations: 0 / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9164, allocations: 327.7 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.9165, allocations: 83.42 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.9166, allocations: 79.98 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.9167, allocations: 99.95 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9167, allocations: 0 / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003034/0.917, allocations: 270.9 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.9171, allocations: 78.42 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9171, allocations: 0 / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.9171, allocations: 4 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.9172, allocations: 0 / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9172, allocations: 12.12 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.9173, allocations: 19.89 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.9173, allocations: 6.781 kB / 1.116 GB, free: 4.102 MB / 0.7136 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.000222/0.9176, allocations: 247.7 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006277/0.9182, allocations: 0.5324 MB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.9182, allocations: 19.81 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.9183, allocations: 17.05 kB / 1.117 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9183, allocations: 0 / 1.117 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.9183, allocations: 4 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9183, allocations: 0 / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.9185, allocations: 226.5 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9185, allocations: 0 / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.9185, allocations: 3.953 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9185, allocations: 3.984 kB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.9186, allocations: 22.67 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9186, allocations: 4 kB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9186, allocations: 0 / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.9192, allocations: 0.5591 MB / 1.117 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.9193, allocations: 92.94 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9195, allocations: 83.89 kB / 1.117 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.9195, allocations: 11.98 kB / 1.117 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.9196, allocations: 4 kB / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.9196, allocations: 28.02 kB / 1.118 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.9197, allocations: 79.28 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9197, allocations: 0 / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003286/0.92, allocations: 79.98 kB / 1.118 GB, free: 2.027 MB / 0.7136 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.00137/0.9214, allocations: 1.245 MB / 1.119 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.9231, allocations: 1.936 MB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9232, allocations: 0 / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.9248, allocations: 2.003 MB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.925, allocations: 19.94 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.9256, allocations: 308.3 kB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.9259, allocations: 0.7205 MB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.9259, allocations: 5.875 kB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.926, allocations: 31.42 kB / 1.124 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.926, allocations: 0 / 1.124 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.9496, allocations: 3.946 MB / 1.128 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.9498, allocations: 180 kB / 1.128 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.573, allocations: 3.938 kB / 1.128 GB, free: 7.605 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)