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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.663/3.663, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002188/0.002188, allocations: 185.7 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.788/3.788, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.001523/0.001523, allocations: 93.16 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007759/0.000776, allocations: 15.97 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3708, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.6956, allocations: 132 MB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004333/0.6961, allocations: 87.95 kB / 1.029 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.71, allocations: 2.403 MB / 1.031 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.861e-06/0.7101, allocations: 0 / 1.031 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.7101, allocations: 7.938 kB / 1.031 GB, free: 11.34 MB / 0.6823 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.0008807/0.711, allocations: 424 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.7111, allocations: 16.03 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.7113, allocations: 8.844 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.7115, allocations: 176.2 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.7116, allocations: 4.375 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.7116, allocations: 4.375 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.7122, allocations: 178.1 kB / 1.032 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7123, allocations: 192 / 1.032 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.7123, allocations: 3.938 kB / 1.032 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7123, allocations: 0 / 1.032 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.7126, allocations: 83.97 kB / 1.032 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.713, allocations: 222.7 kB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.7135, allocations: 150.5 kB / 1.032 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.7137, allocations: 116.9 kB / 1.032 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.7138, allocations: 0 / 1.032 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.7144, allocations: 200.2 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 3.897e-06/0.7145, allocations: 4 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001655/0.7161, allocations: 0.5711 MB / 1.033 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.7163, allocations: 95.36 kB / 1.033 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.7165, allocations: 117.8 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7167, allocations: 57.67 kB / 1.033 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.7167, allocations: 81.14 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.7169, allocations: 102.8 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.717, allocations: 8 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.7172, allocations: 338.8 kB / 1.034 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.7178, allocations: 168.9 kB / 1.034 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.7185, allocations: 234 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.7192, allocations: 209.8 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.7193, allocations: 4 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001509/0.7208, allocations: 492.6 kB / 1.035 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.7209, allocations: 11.94 kB / 1.035 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7209, allocations: 0 / 1.035 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.7209, allocations: 4 kB / 1.035 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.7212, allocations: 27.86 kB / 1.035 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7212, allocations: 0 / 1.035 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.7215, allocations: 35.66 kB / 1.035 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.7215, allocations: 12.12 kB / 1.035 GB, free: 7.016 MB / 0.6823 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.000475/0.722, allocations: 195 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.7221, allocations: 11.84 kB / 1.035 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.7221, allocations: 13.16 kB / 1.035 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7222, allocations: 4 kB / 1.035 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7222, allocations: 240 / 1.035 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7222, allocations: 0 / 1.035 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.7225, allocations: 213.4 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7226, allocations: 3.984 kB / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.7226, allocations: 0 / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.7226, allocations: 7.875 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.7227, allocations: 15.98 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7227, allocations: 0 / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7227, allocations: 0 / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.7241, allocations: 480.8 kB / 1.036 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.7242, allocations: 88.95 kB / 1.036 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.7244, allocations: 43.89 kB / 1.036 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7245, allocations: 4 kB / 1.036 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.7246, allocations: 11.98 kB / 1.036 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.7247, allocations: 8 kB / 1.036 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.7248, allocations: 79.28 kB / 1.036 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7248, allocations: 3.938 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007454/0.7255, allocations: 59.92 kB / 1.036 GB, free: 5.699 MB / 0.6823 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.0008663/0.7264, allocations: 225 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.7275, allocations: 353.9 kB / 1.037 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.7276, allocations: 0 / 1.037 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.7279, allocations: 127.9 kB / 1.037 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.7284, allocations: 11.98 kB / 1.037 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.7295, allocations: 339.5 kB / 1.037 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.7301, allocations: 0.7245 MB / 1.038 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.7302, allocations: 21.41 kB / 1.038 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.7303, allocations: 15.44 kB / 1.038 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/0.7303, allocations: 0 / 1.038 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.01026/0.7406, allocations: 1.976 MB / 1.04 GB, free: 1.879 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)