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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 106.5 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.84 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2021, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002552/0.2047, allocations: 1.336 MB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.2056, allocations: 347.8 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2056, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.572e-05/0.2057, allocations: 3.938 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.492e-05/0.2058, allocations: 7.938 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.2062, allocations: 99.73 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2064, allocations: 47.92 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2064, allocations: 8 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.2065, allocations: 19.92 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.2065, allocations: 27.84 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.2065, allocations: 4 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2067, allocations: 87.84 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.2068, allocations: 23.92 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.2068, allocations: 51.67 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2071, allocations: 151.6 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2071, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2071, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2071, allocations: 4 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 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.0005094/0.2076, allocations: 0.5201 MB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2077, allocations: 11.97 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2078, allocations: 20.75 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2079, allocations: 176.2 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2079, allocations: 384 / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.208, allocations: 4.375 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3362/0.5441, allocations: 238 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5442, allocations: 3 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5442, allocations: 3.688 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5442, allocations: 0.5625 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.5443, allocations: 144.2 kB / 0.788 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.5445, allocations: 193.5 kB / 0.7882 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.5448, allocations: 0.5428 MB / 0.7887 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.545, allocations: 0.521 MB / 0.7892 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.545, allocations: 2.844 kB / 0.7892 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.5454, allocations: 397.5 kB / 0.7896 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/0.5454, allocations: 0 / 0.7896 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0006169/0.546, allocations: 0.6865 MB / 0.7903 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.546, allocations: 106.6 kB / 0.7904 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.5461, allocations: 96.36 kB / 0.7905 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.5461, allocations: 29.33 kB / 0.7905 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.5461, allocations: 80.8 kB / 0.7906 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.5462, allocations: 80.2 kB / 0.7907 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.5462, allocations: 32.47 kB / 0.7907 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.5463, allocations: 329.2 kB / 0.791 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.5464, allocations: 84.56 kB / 0.7911 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.5464, allocations: 81.17 kB / 0.7912 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5467, allocations: 354 kB / 0.7915 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5467, allocations: 0.6562 kB / 0.7915 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00026/0.5469, allocations: 340.5 kB / 0.7918 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.547, allocations: 83.03 kB / 0.7919 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.547, allocations: 0 / 0.7919 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.547, allocations: 4.031 kB / 0.7919 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.5471, allocations: 3.375 kB / 0.7919 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5471, allocations: 0 / 0.7919 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.5472, allocations: 20.64 kB / 0.7919 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.5472, allocations: 6.938 kB / 0.792 GB, free: 48.11 MB / 0.6544 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 (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,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.5474, allocations: 268.9 kB / 0.7922 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.5474, allocations: 22.17 kB / 0.7922 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-06/0.5474, allocations: 5.75 kB / 0.7922 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5474, allocations: 2.484 kB / 0.7922 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5474, allocations: 6.156 kB / 0.7922 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.5475, allocations: 96.42 kB / 0.7923 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.5476, allocations: 75.56 kB / 0.7924 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.5476, allocations: 9.344 kB / 0.7924 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.5477, allocations: 10.77 kB / 0.7924 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001173/0.5489, allocations: 2.024 MB / 0.7944 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008778/0.5497, allocations: 1.411 MB / 0.7958 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005607/0.5503, allocations: 1.292 MB / 0.797 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.5503, allocations: 83.94 kB / 0.7971 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.5503, allocations: 3.719 kB / 0.7971 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.5518, allocations: 1.889 MB / 0.799 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0009619/0.5528, allocations: 1.392 MB / 0.8003 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.005288/0.5581, allocations: 2.65 MB / 0.8029 GB, free: 43.54 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)