Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.806/2.806, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001537/0.001537, allocations: 174.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 86.17 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005068, allocations: 16.53 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9686/1.202, allocations: 138.4 MB / 1.113 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.202, allocations: 78.61 kB / 1.113 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01012/1.213, allocations: 2.385 MB / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.213, allocations: 0 / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.213, allocations: 0 / 1.116 GB, free: 31.07 MB / 0.698 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.0008403/1.214, allocations: 431.6 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.214, allocations: 15.64 kB / 1.116 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/1.214, allocations: 51.3 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.214, allocations: 11.78 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.214, allocations: 174.8 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.214, allocations: 3.141 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.214, allocations: 11.25 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/1.214, allocations: 177.4 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.214, allocations: 0 / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.214, allocations: 3.141 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.214, allocations: 0 / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/1.215, allocations: 87.56 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/1.215, allocations: 225.4 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/1.215, allocations: 136.8 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.215, allocations: 0 / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/1.215, allocations: 196.6 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/1.215, allocations: 7.938 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001072/1.217, allocations: 0.6721 MB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.217, allocations: 93.52 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.217, allocations: 115.2 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/1.217, allocations: 56.53 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/1.217, allocations: 84.98 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.217, allocations: 97.62 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/1.217, allocations: 5.75 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.217, allocations: 342.7 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/1.218, allocations: 172.8 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/1.218, allocations: 236.2 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/1.218, allocations: 211.9 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.218, allocations: 4 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008438/1.219, allocations: 489.4 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.219, allocations: 9.25 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.219, allocations: 0 / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.219, allocations: 3.688 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.219, allocations: 21.53 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.219, allocations: 10.53 kB / 1.12 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/1.22, allocations: 34.59 kB / 1.12 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/1.22, allocations: 10.19 kB / 1.12 GB, free: 29.13 MB / 0.698 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 () * Number of clocked 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.0002775/1.22, allocations: 210.5 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/1.22, allocations: 11.59 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/1.22, allocations: 5.219 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.22, allocations: 0 / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.22, allocations: 2.531 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.22, allocations: 0 / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/1.22, allocations: 214.5 kB / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.22, allocations: 0 / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-06/1.22, allocations: 0 / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/1.22, allocations: 0 / 1.12 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.22, allocations: 10.88 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.22, allocations: 0 / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.22, allocations: 0 / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/1.221, allocations: 482.3 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/1.221, allocations: 100.4 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.221, allocations: 39.44 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/1.221, allocations: 6.656 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/1.221, allocations: 8.047 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/1.221, allocations: 14.27 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.507e-05/1.221, allocations: 81.89 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.221, allocations: 3.906 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004081/1.222, allocations: 57.47 kB / 1.121 GB, free: 28.49 MB / 0.698 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) * Number of clocked states: 0 () * 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.001553/1.223, allocations: 1.13 MB / 1.122 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005679/1.224, allocations: 355 kB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.224, allocations: 0 / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/1.224, allocations: 127 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/1.224, allocations: 5.594 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/1.225, allocations: 408.1 kB / 1.123 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/1.226, allocations: 0.7267 MB / 1.124 GB, free: 26.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.343e-05/1.226, allocations: 15.73 kB / 1.124 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/1.226, allocations: 39.25 kB / 1.124 GB, free: 26.91 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.226, allocations: 0 / 1.124 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/1.251, allocations: 3.442 MB / 1.127 GB, free: 26.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.251, allocations: 232.6 kB / 1.127 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.761, allocations: 4.672 kB / 1.127 GB, free: 26.38 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)