Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 79.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 173.5 kB / 25.18 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9452/0.9452, allocations: 177.1 MB / 205.6 MB, free: 4.383 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.877/1.877, allocations: 389.6 MB / 0.6364 GB, free: 13.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.124e-05, allocations: 10.05 kB / 0.7755 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001845/0.001866, allocations: 1.436 MB / 0.7769 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.002431, allocations: 370.7 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.002465, allocations: 4 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.06e-05/0.002546, allocations: 3.938 kB / 0.7773 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.002571, allocations: 7.922 kB / 0.7773 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.002932, allocations: 95.62 kB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.003003, allocations: 51.78 kB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.003034, allocations: 0 / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.003073, allocations: 27.97 kB / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.003108, allocations: 11.97 kB / 0.7775 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003121, allocations: 4 kB / 0.7775 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.003325, allocations: 127.7 kB / 0.7776 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.003363, allocations: 27.86 kB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.00339, allocations: 15.94 kB / 0.7776 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003554, allocations: 135.6 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003556, allocations: 0 / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003557, allocations: 4 kB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.00356, allocations: 4 kB / 0.7778 GB, free: 12.28 MB / 0.7448 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.0003481/0.003908, allocations: 329.3 kB / 0.7781 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.003938, allocations: 12.03 kB / 0.7781 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.004067, allocations: 16.86 kB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.004146, allocations: 117.6 kB / 0.7782 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.004161, allocations: 4.375 kB / 0.7782 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.004178, allocations: 8.359 kB / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.004297, allocations: 107.7 kB / 0.7783 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004305, allocations: 192 / 0.7783 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.004311, allocations: 4.375 kB / 0.7783 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.004316, allocations: 384 / 0.7783 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.00434, allocations: 31.67 kB / 0.7784 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.804e-05/0.004418, allocations: 79.72 kB / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.004495, allocations: 54.55 kB / 0.7785 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.004517, allocations: 24.86 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.00452, allocations: 3.938 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.004633, allocations: 105.2 kB / 0.7786 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.142e-06/0.004634, allocations: 0 / 0.7786 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0003311/0.004965, allocations: 220.5 kB / 0.7788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.005013, allocations: 87.33 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.005071, allocations: 130.6 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.005101, allocations: 49.69 kB / 0.7791 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.005131, allocations: 88.78 kB / 0.7792 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.005195, allocations: 99.25 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.005264, allocations: 93.61 kB / 0.7794 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.00534, allocations: 350.6 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.005391, allocations: 55.47 kB / 0.7798 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.00546, allocations: 97.3 kB / 0.7798 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.005609, allocations: 212 kB / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005611, allocations: 0 / 0.78 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002065/0.005817, allocations: 253.6 kB / 0.7803 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.005831, allocations: 7.984 kB / 0.7803 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.005845, allocations: 0 / 0.7803 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005853, allocations: 4 kB / 0.7803 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.006014, allocations: 75.91 kB / 0.7804 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006018, allocations: 0 / 0.7804 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.006064, allocations: 31.73 kB / 0.7804 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.006079, allocations: 19.92 kB / 0.7804 GB, free: 9.379 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 77 (occ.occ,$PRE.occ.occ,occ.state[33],$PRE.occ.state[33],occ.state[32],$PRE.occ.state[32],occ.state[31],$PRE.occ.state[31],occ.state[30],$PRE.occ.state[30],occ.state[29],$PRE.occ.state[29],occ.state[28],$PRE.occ.state[28],occ.state[27],$PRE.occ.state[27],occ.state[26],$PRE.occ.state[26],occ.state[25],$PRE.occ.state[25],occ.state[24],$PRE.occ.state[24],occ.state[23],$PRE.occ.state[23],occ.state[22],$PRE.occ.state[22],occ.state[21],$PRE.occ.state[21],occ.state[20],$PRE.occ.state[20],occ.state[19],$PRE.occ.state[19],occ.state[18],$PRE.occ.state[18],occ.state[17],$PRE.occ.state[17],occ.state[16],$PRE.occ.state[16],occ.state[15],$PRE.occ.state[15],occ.state[14],$PRE.occ.state[14],occ.state[13],$PRE.occ.state[13],occ.state[12],$PRE.occ.state[12],occ.state[11],$PRE.occ.state[11],occ.state[10],$PRE.occ.state[10],occ.state[9],$PRE.occ.state[9],occ.state[8],$PRE.occ.state[8],occ.state[7],$PRE.occ.state[7],occ.state[6],$PRE.occ.state[6],occ.state[5],$PRE.occ.state[5],occ.state[4],$PRE.occ.state[4],occ.state[3],$PRE.occ.state[3],occ.state[2],$PRE.occ.state[2],occ.state[1],$PRE.occ.state[1],occ.r,$PRE.occ.r,occ.hold_time,$PRE.occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,$PRE.occ.mu,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001227/0.006201, allocations: 182 kB / 0.7806 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.006213, allocations: 11.92 kB / 0.7806 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.006231, allocations: 9.297 kB / 0.7806 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006233, allocations: 4 kB / 0.7806 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006234, allocations: 0 / 0.7806 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006238, allocations: 0 / 0.7806 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.529e-05/0.006303, allocations: 93.55 kB / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006304, allocations: 0 / 0.7807 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-06/0.006308, allocations: 4 kB / 0.7807 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006311, allocations: 4 kB / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.006316, allocations: 0 / 0.7807 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006317, allocations: 4 kB / 0.7807 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006318, allocations: 0 / 0.7807 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.006459, allocations: 191.6 kB / 0.7809 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.00647, allocations: 11.89 kB / 0.7809 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.006496, allocations: 32.09 kB / 0.7809 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.00652, allocations: 4 kB / 0.7809 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.00654, allocations: 4 kB / 0.781 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.006544, allocations: 0 / 0.781 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.181e-05/0.006556, allocations: 12.84 kB / 0.781 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006556, allocations: 0 / 0.781 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001633/0.00672, allocations: 47.94 kB / 0.781 GB, free: 8.73 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/0.007028, allocations: 220.8 kB / 0.7812 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.007217, allocations: 204.4 kB / 0.7814 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.007221, allocations: 0 / 0.7814 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.007257, allocations: 48.77 kB / 0.7815 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.665e-05/0.007354, allocations: 19.64 kB / 0.7815 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.007778, allocations: 302.1 kB / 0.7818 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.007842, allocations: 93.81 kB / 0.7819 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.007895, allocations: 67.36 kB / 0.7819 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.007895, allocations: 0 / 0.7819 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.002628/0.01052, allocations: 2.305 MB / 0.7842 GB, free: 5.43 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy > Buildings_13_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.653224103152752]