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.002172/0.002172, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002006/0.002006, allocations: 216 kB / 23.02 MB, free: 2.957 MB / 13.93 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.701/1.701, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.49/3.49, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 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 0.003967/0.003967, allocations: 69.52 kB / 1.177 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4227, allocations: 180 MB / 1.353 GB, free: 8.762 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003189/0.4259, allocations: 1.528 MB / 1.354 GB, free: 7.223 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4276, allocations: 0.7556 MB / 1.355 GB, free: 6.461 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.4277, allocations: 0 / 1.355 GB, free: 6.461 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.4278, allocations: 7.875 kB / 1.355 GB, free: 6.453 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.4278, allocations: 23.78 kB / 1.355 GB, free: 6.43 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.4284, allocations: 135.6 kB / 1.355 GB, free: 6.297 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.4286, allocations: 91.7 kB / 1.355 GB, free: 6.207 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.4287, allocations: 12.22 kB / 1.355 GB, free: 6.191 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4289, allocations: 47.84 kB / 1.355 GB, free: 6.145 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.429, allocations: 47.75 kB / 1.355 GB, free: 6.098 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.429, allocations: 8 kB / 1.355 GB, free: 6.09 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.4293, allocations: 127.8 kB / 1.356 GB, free: 5.965 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.4294, allocations: 35.92 kB / 1.356 GB, free: 5.93 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.4295, allocations: 47.66 kB / 1.356 GB, free: 5.883 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.4298, allocations: 211.1 kB / 1.356 GB, free: 5.676 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4298, allocations: 0 / 1.356 GB, free: 5.676 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4298, allocations: 0 / 1.356 GB, free: 5.676 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4298, allocations: 0 / 1.356 GB, free: 5.676 MB / 1.042 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.001002/0.4308, allocations: 481.7 kB / 1.356 GB, free: 5.164 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4309, allocations: 8.922 kB / 1.356 GB, free: 5.156 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.4312, allocations: 40.77 kB / 1.356 GB, free: 5.117 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.4315, allocations: 142.2 kB / 1.357 GB, free: 4.953 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.4316, allocations: 89.66 kB / 1.357 GB, free: 4.848 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.4316, allocations: 4.375 kB / 1.357 GB, free: 4.844 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.432, allocations: 213.3 kB / 1.357 GB, free: 4.629 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.432, allocations: 3.938 kB / 1.357 GB, free: 4.625 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.432, allocations: 8 kB / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.432, allocations: 0 / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.4323, allocations: 115.9 kB / 1.357 GB, free: 4.504 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.4329, allocations: 292.2 kB / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.4332, allocations: 122.8 kB / 1.357 GB, free: 4.059 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4334, allocations: 105.2 kB / 1.357 GB, free: 3.953 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4334, allocations: 0 / 1.357 GB, free: 3.953 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.4338, allocations: 247.1 kB / 1.358 GB, free: 3.699 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.4338, allocations: 0 / 1.358 GB, free: 3.699 MB / 1.042 GB Notification: Performance of matching and sorting (n=43): time 0.001317/0.4352, allocations: 0.5596 MB / 1.358 GB, free: 3.133 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/0.4353, allocations: 91.44 kB / 1.358 GB, free: 3.031 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.4354, allocations: 155.8 kB / 1.358 GB, free: 2.871 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.4355, allocations: 61.69 kB / 1.358 GB, free: 2.805 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.4356, allocations: 97.12 kB / 1.359 GB, free: 2.707 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.4357, allocations: 115.1 kB / 1.359 GB, free: 2.594 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4359, allocations: 98.11 kB / 1.359 GB, free: 2.488 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.4361, allocations: 346.7 kB / 1.359 GB, free: 2.141 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.4364, allocations: 185 kB / 1.359 GB, free: 1.961 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4368, allocations: 264.7 kB / 1.36 GB, free: 1.676 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.4377, allocations: 0.5067 MB / 1.36 GB, free: 1.148 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4377, allocations: 0 / 1.36 GB, free: 1.148 MB / 1.042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009512/0.4386, allocations: 0.5298 MB / 1.361 GB, free: 0.6094 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4386, allocations: 8 kB / 1.361 GB, free: 0.6016 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4386, allocations: 0 / 1.361 GB, free: 0.6016 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4387, allocations: 4 kB / 1.361 GB, free: 0.5977 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4389, allocations: 35.84 kB / 1.361 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4389, allocations: 4 kB / 1.361 GB, free: 0.5586 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.439, allocations: 43.66 kB / 1.361 GB, free: 0.5156 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4391, allocations: 16 kB / 1.361 GB, free: 0.5 MB / 1.042 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.0002625/0.4393, allocations: 207 kB / 1.361 GB, free: 292 kB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.4394, allocations: 15.86 kB / 1.361 GB, free: 276 kB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.4394, allocations: 22.3 kB / 1.361 GB, free: 248 kB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4394, allocations: 0 / 1.361 GB, free: 248 kB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4394, allocations: 0 / 1.361 GB, free: 248 kB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4394, allocations: 3.938 kB / 1.361 GB, free: 244 kB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4406, allocations: 0.6513 MB / 1.362 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4406, allocations: 0 / 1.362 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.4407, allocations: 11.92 kB / 1.362 GB, free: 15.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4407, allocations: 4 kB / 1.362 GB, free: 15.53 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4407, allocations: 7.984 kB / 1.362 GB, free: 15.52 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4407, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4407, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.4414, allocations: 0.5029 MB / 1.362 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.4415, allocations: 23.83 kB / 1.362 GB, free: 14.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4415, allocations: 28.03 kB / 1.362 GB, free: 14.95 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4417, allocations: 16.25 kB / 1.362 GB, free: 14.94 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.4417, allocations: 15.92 kB / 1.362 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.4418, allocations: 15.92 kB / 1.362 GB, free: 14.91 MB / 1.057 GB Notification: Performance of sorting global known variables: time 9.285e-05/0.4419, allocations: 103.2 kB / 1.362 GB, free: 14.8 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.4419, allocations: 0 / 1.362 GB, free: 14.8 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003798/0.4422, allocations: 59.89 kB / 1.362 GB, free: 14.75 MB / 1.057 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.0006155/0.4429, allocations: 226 kB / 1.363 GB, free: 14.54 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007308/0.4436, allocations: 364.9 kB / 1.363 GB, free: 14.18 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4436, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.4438, allocations: 115.9 kB / 1.363 GB, free: 14.07 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.4441, allocations: 19.98 kB / 1.363 GB, free: 14.05 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.445, allocations: 398.7 kB / 1.363 GB, free: 13.64 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4451, allocations: 116 kB / 1.363 GB, free: 13.5 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 7.75e-05/0.4452, allocations: 29.41 kB / 1.364 GB, free: 13.47 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.4453, allocations: 27.38 kB / 1.364 GB, free: 13.45 MB / 1.057 GB Notification: Performance of SimCode: time 7.01e-07/0.4453, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.057 GB Notification: Performance of Templates: time 0.007751/0.453, allocations: 2.626 MB / 1.366 GB, free: 10.88 MB / 1.057 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: 10.506726496852934]