Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001929/0.001929, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002064/0.002064, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.548/1.548, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.546/3.546, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.186e-05, allocations: 6.219 kB / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002964/0.002996, allocations: 1.53 MB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.004796, allocations: 0.7477 MB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.004859, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.004962, allocations: 11.86 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.005038, allocations: 27.73 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.005634, allocations: 135.5 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.005807, allocations: 103.6 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.005898, allocations: 8.234 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.006078, allocations: 59.88 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.006164, allocations: 35.88 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.006189, allocations: 8 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.006484, allocations: 139.6 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.006549, allocations: 35.86 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.006612, allocations: 35.84 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.006962, allocations: 207.4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006964, allocations: 7.938 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.21e-07/0.006965, allocations: 0 / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.00697, allocations: 0 / 1.004 GB, free: 9.996 MB / 0.9636 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.0009332/0.007904, allocations: 477.7 kB / 1.005 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.007943, allocations: 13.34 kB / 1.005 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.008216, allocations: 32.78 kB / 1.005 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.008477, allocations: 145.5 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.008607, allocations: 93.66 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.008624, allocations: 4.375 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.008986, allocations: 198.2 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.009, allocations: 4.188 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.009014, allocations: 4.125 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.009019, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.009298, allocations: 123.7 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.009859, allocations: 292.3 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.01013, allocations: 122.9 kB / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.01032, allocations: 105.1 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01035, allocations: 3.938 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005175/0.01087, allocations: 247.1 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.01087, allocations: 0 / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=43): time 0.0009993/0.01187, allocations: 0.556 MB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.01196, allocations: 95.44 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01213, allocations: 159.7 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.01219, allocations: 53.69 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.01227, allocations: 93.14 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.0124, allocations: 115.3 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.01254, allocations: 106.1 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.01273, allocations: 338.8 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.01305, allocations: 185 kB / 1.008 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.0135, allocations: 276.9 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.01429, allocations: 0.4911 MB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.01429, allocations: 8 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009204/0.01521, allocations: 0.5374 MB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01523, allocations: 8 kB / 1.009 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01524, allocations: 0 / 1.009 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.01526, allocations: 4 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01543, allocations: 32.09 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01544, allocations: 8 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.0156, allocations: 47.67 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.01562, allocations: 12 kB / 1.009 GB, free: 4.82 MB / 0.9636 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.0002519/0.01588, allocations: 210.9 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01591, allocations: 15.84 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.01594, allocations: 10.31 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01595, allocations: 4 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01595, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01595, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.01703, allocations: 0.655 MB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01703, allocations: 4 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.01712, allocations: 7.984 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01712, allocations: 0 / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.01714, allocations: 8 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01714, allocations: 0 / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01714, allocations: 0 / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.01799, allocations: 0.5067 MB / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.01803, allocations: 27.67 kB / 1.01 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.01808, allocations: 31.98 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.01822, allocations: 15.98 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.01828, allocations: 11.97 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.0183, allocations: 4 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.01839, allocations: 106.1 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01839, allocations: 0 / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003489/0.01873, allocations: 55.94 kB / 1.011 GB, free: 3.09 MB / 0.9636 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 (10): * Single equations (assignments): 7 * 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.000558/0.01929, allocations: 226.9 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.01994, allocations: 360.8 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01994, allocations: 0 / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.02018, allocations: 119.9 kB / 1.011 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.02049, allocations: 24.3 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.02127, allocations: 403.3 kB / 1.012 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.02141, allocations: 124.1 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.02148, allocations: 25.48 kB / 1.012 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.02153, allocations: 20.48 kB / 1.012 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/0.02153, allocations: 0 / 1.012 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of Templates: time 0.006747/0.02828, allocations: 2.544 MB / 1.014 GB, free: 15.3 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.473708446137607]