Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.0009305/0.0009305, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009695/0.0009695, allocations: 171.2 kB / 25.18 MB, free: 8.828 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.9215/0.9215, allocations: 177.2 MB / 205.6 MB, free: 4.371 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.923/1.923, allocations: 389.6 MB / 0.6364 GB, free: 13.27 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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.295e-05, allocations: 6.312 kB / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00223/0.002253, allocations: 1.654 MB / 0.7771 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.00352, allocations: 0.7787 MB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.003587, allocations: 0 / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.003679, allocations: 11.88 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.003739, allocations: 23.78 kB / 0.7779 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.004235, allocations: 139.3 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.004363, allocations: 107.6 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.004436, allocations: 14.23 kB / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.004582, allocations: 71.73 kB / 0.7783 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.004647, allocations: 35.95 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004665, allocations: 11.94 kB / 0.7783 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.004884, allocations: 143.7 kB / 0.7784 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.004934, allocations: 39.89 kB / 0.7785 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.004976, allocations: 31.86 kB / 0.7785 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.005206, allocations: 199.2 kB / 0.7787 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005208, allocations: 0 / 0.7787 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005209, allocations: 0 / 0.7787 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.005212, allocations: 0 / 0.7787 GB, free: 11.32 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004886/0.005701, allocations: 477.9 kB / 0.7792 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.005731, allocations: 8.031 kB / 0.7792 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.005938, allocations: 44.91 kB / 0.7792 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.006085, allocations: 150 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.006096, allocations: 384 / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.006109, allocations: 8.375 kB / 0.7794 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006244, allocations: 123.4 kB / 0.7795 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.006251, allocations: 0 / 0.7795 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.006258, allocations: 0 / 0.7795 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006265, allocations: 7.938 kB / 0.7795 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.006309, allocations: 31.98 kB / 0.7795 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.006588, allocations: 214.8 kB / 0.7797 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006698, allocations: 114.2 kB / 0.7798 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.006727, allocations: 32.8 kB / 0.7799 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.006741, allocations: 11.92 kB / 0.7799 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.006865, allocations: 140.3 kB / 0.78 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.006867, allocations: 0 / 0.78 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0002342/0.007101, allocations: 245.6 kB / 0.7802 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.007153, allocations: 91.31 kB / 0.7803 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.007233, allocations: 166.5 kB / 0.7805 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.007265, allocations: 57.67 kB / 0.7805 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.0073, allocations: 97.08 kB / 0.7806 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.007361, allocations: 111.1 kB / 0.7807 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.007438, allocations: 102.1 kB / 0.7808 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.007524, allocations: 350.7 kB / 0.7812 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.007582, allocations: 55.97 kB / 0.7812 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.00767, allocations: 125 kB / 0.7813 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.007868, allocations: 268.5 kB / 0.7816 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007871, allocations: 0 / 0.7816 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000252/0.008123, allocations: 286.2 kB / 0.7819 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.008135, allocations: 4 kB / 0.7819 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.008142, allocations: 4 kB / 0.7819 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.008151, allocations: 4 kB / 0.7819 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.008327, allocations: 83.89 kB / 0.782 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008333, allocations: 4 kB / 0.782 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.008401, allocations: 47.81 kB / 0.782 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.008414, allocations: 8 kB / 0.782 GB, free: 7.676 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 77 (lig.state[33],$PRE.lig.state[33],lig.state[32],$PRE.lig.state[32],lig.state[31],$PRE.lig.state[31],lig.state[30],$PRE.lig.state[30],lig.state[29],$PRE.lig.state[29],lig.state[28],$PRE.lig.state[28],lig.state[27],$PRE.lig.state[27],lig.state[26],$PRE.lig.state[26],lig.state[25],$PRE.lig.state[25],lig.state[24],$PRE.lig.state[24],lig.state[23],$PRE.lig.state[23],lig.state[22],$PRE.lig.state[22],lig.state[21],$PRE.lig.state[21],lig.state[20],$PRE.lig.state[20],lig.state[19],$PRE.lig.state[19],lig.state[18],$PRE.lig.state[18],lig.state[17],$PRE.lig.state[17],lig.state[16],$PRE.lig.state[16],lig.state[15],$PRE.lig.state[15],lig.state[14],$PRE.lig.state[14],lig.state[13],$PRE.lig.state[13],lig.state[12],$PRE.lig.state[12],lig.state[11],$PRE.lig.state[11],lig.state[10],$PRE.lig.state[10],lig.state[9],$PRE.lig.state[9],lig.state[8],$PRE.lig.state[8],lig.state[7],$PRE.lig.state[7],lig.state[6],$PRE.lig.state[6],lig.state[5],$PRE.lig.state[5],lig.state[4],$PRE.lig.state[4],lig.state[3],$PRE.lig.state[3],lig.state[2],$PRE.lig.state[2],lig.state[1],$PRE.lig.state[1],lig.ran,$PRE.lig.ran,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * 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.0001185/0.008533, allocations: 193.7 kB / 0.7822 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.008547, allocations: 11.98 kB / 0.7822 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.00874, allocations: 188 kB / 0.7824 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008742, allocations: 0 / 0.7824 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008744, allocations: 0 / 0.7824 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.008752, allocations: 7.984 kB / 0.7824 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.009101, allocations: 445.8 kB / 0.7828 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009103, allocations: 0 / 0.7828 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.009143, allocations: 19.92 kB / 0.7828 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009146, allocations: 4 kB / 0.7828 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.009153, allocations: 0 / 0.7828 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009157, allocations: 4 kB / 0.7829 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009158, allocations: 0 / 0.7829 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.00936, allocations: 345.9 kB / 0.7832 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.00938, allocations: 27.88 kB / 0.7832 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.009412, allocations: 31.98 kB / 0.7832 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.009463, allocations: 4 kB / 0.7832 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.009502, allocations: 15.97 kB / 0.7833 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.009514, allocations: 4 kB / 0.7833 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.009541, allocations: 40.75 kB / 0.7833 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009541, allocations: 0 / 0.7833 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002233/0.009764, allocations: 59.94 kB / 0.7834 GB, free: 6.246 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: 41 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],lig.ran,booleanPulse.pulseStart) * Number of discrete states: 34 (lig.state[1],lig.state[2],lig.state[3],lig.state[4],lig.state[5],lig.state[6],lig.state[7],lig.state[8],lig.state[9],lig.state[10],lig.state[11],lig.state[12],lig.state[13],lig.state[14],lig.state[15],lig.state[16],lig.state[17],lig.state[18],lig.state[19],lig.state[20],lig.state[21],lig.state[22],lig.state[23],lig.state[24],lig.state[25],lig.state[26],lig.state[27],lig.state[28],lig.state[29],lig.state[30],lig.state[31],lig.state[32],lig.state[33],lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003165/0.01008, allocations: 222.2 kB / 0.7836 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01028, allocations: 178.6 kB / 0.7837 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.01029, allocations: 0 / 0.7837 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.01035, allocations: 70.56 kB / 0.7838 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.01053, allocations: 35.95 kB / 0.7838 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.01108, allocations: 399.8 kB / 0.7842 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.01116, allocations: 124.9 kB / 0.7843 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.01125, allocations: 79.36 kB / 0.7844 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01125, allocations: 0 / 0.7844 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.003619/0.01487, allocations: 2.995 MB / 0.7873 GB, free: 2.117 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.808918782509863]