Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.0008601/0.0008601, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001149/0.001149, allocations: 167.5 kB / 25.18 MB, free: 8.922 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.9286/0.9286, allocations: 177.1 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.968/1.968, allocations: 389.6 MB / 0.6364 GB, free: 13.26 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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7755 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.933e-05, allocations: 6.25 kB / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002112/0.002131, allocations: 1.618 MB / 0.7771 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.003115, allocations: 0.7826 MB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.003176, allocations: 0 / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.003268, allocations: 3.938 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.003321, allocations: 15.88 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.003789, allocations: 143.3 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003903, allocations: 91.69 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.003967, allocations: 8 kB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004103, allocations: 67.75 kB / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.004152, allocations: 31.94 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004169, allocations: 8 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.004383, allocations: 139.7 kB / 0.7784 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.004427, allocations: 39.86 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.004466, allocations: 31.84 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.004682, allocations: 179.3 kB / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004684, allocations: 0 / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004685, allocations: 0 / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.004688, allocations: 0 / 0.7786 GB, free: 11.41 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000451/0.005139, allocations: 432.4 kB / 0.779 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.005168, allocations: 12.02 kB / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.005355, allocations: 36.89 kB / 0.7791 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.005481, allocations: 145.5 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.005493, allocations: 4.375 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.005505, allocations: 8.375 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.00563, allocations: 115.5 kB / 0.7793 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005637, allocations: 192 / 0.7793 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.005644, allocations: 384 / 0.7793 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00565, allocations: 7.938 kB / 0.7793 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.928e-05/0.00569, allocations: 27.98 kB / 0.7794 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.005942, allocations: 218.8 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.006014, allocations: 102.7 kB / 0.7797 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.006044, allocations: 41.17 kB / 0.7797 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.006056, allocations: 0 / 0.7797 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.006165, allocations: 132.2 kB / 0.7798 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.006166, allocations: 0 / 0.7798 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.0002237/0.00639, allocations: 241.5 kB / 0.7801 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.006441, allocations: 95.31 kB / 0.7801 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.006519, allocations: 146.5 kB / 0.7803 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.006555, allocations: 53.67 kB / 0.7803 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.006586, allocations: 93.12 kB / 0.7804 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.006647, allocations: 111.2 kB / 0.7805 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.006721, allocations: 98.09 kB / 0.7806 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.006797, allocations: 342.8 kB / 0.781 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.006853, allocations: 59.95 kB / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.006938, allocations: 125 kB / 0.7811 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.007118, allocations: 248.6 kB / 0.7814 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007121, allocations: 4 kB / 0.7814 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0002469/0.007368, allocations: 282.2 kB / 0.7816 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.007382, allocations: 11.94 kB / 0.7816 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.007389, allocations: 0 / 0.7816 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.007399, allocations: 4 kB / 0.7817 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.007577, allocations: 83.89 kB / 0.7817 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007583, allocations: 7.938 kB / 0.7817 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.007647, allocations: 43.81 kB / 0.7818 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.007662, allocations: 15.98 kB / 0.7818 GB, free: 7.895 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.0001087/0.007771, allocations: 181.9 kB / 0.782 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.007785, allocations: 11.98 kB / 0.782 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.007961, allocations: 180.3 kB / 0.7822 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007964, allocations: 4 kB / 0.7822 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007965, allocations: 0 / 0.7822 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007968, allocations: 0 / 0.7822 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.008281, allocations: 437.2 kB / 0.7826 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008283, allocations: 0 / 0.7826 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.008319, allocations: 19.86 kB / 0.7826 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00832, allocations: 4 kB / 0.7826 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.008327, allocations: 0 / 0.7826 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008328, allocations: 4 kB / 0.7826 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008329, allocations: 0 / 0.7826 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.008502, allocations: 314.2 kB / 0.7829 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.00852, allocations: 31.72 kB / 0.7829 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.008549, allocations: 31.98 kB / 0.783 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.008596, allocations: 7.984 kB / 0.783 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.008629, allocations: 11.98 kB / 0.783 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.008642, allocations: 3.984 kB / 0.783 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.186e-05/0.008664, allocations: 28.3 kB / 0.783 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008664, allocations: 4 kB / 0.783 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002012/0.008865, allocations: 52 kB / 0.7831 GB, free: 6.543 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 (occ.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,occ.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 (12): * Single equations (assignments): 9 * 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.0004708/0.009336, allocations: 224.8 kB / 0.7833 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.009527, allocations: 174.9 kB / 0.7834 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.009534, allocations: 4 kB / 0.7835 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.009589, allocations: 64.88 kB / 0.7835 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.009748, allocations: 28.06 kB / 0.7835 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.01026, allocations: 375.2 kB / 0.7839 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.01034, allocations: 120.3 kB / 0.784 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.01042, allocations: 75.36 kB / 0.7841 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01042, allocations: 0 / 0.7841 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.003191/0.01361, allocations: 2.825 MB / 0.7868 GB, free: 2.621 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.863777307793498]