Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.6 MB / 307.5 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 176.2 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 0.6367 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008454/0.0008452, allocations: 90.53 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7478/1.015, allocations: 141.2 MB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.015, allocations: 87.28 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009536/1.025, allocations: 3.158 MB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.856e-06/1.025, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.025, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007387/1.026, allocations: 480.7 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.026, allocations: 12.03 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/1.026, allocations: 13.97 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.026, allocations: 174.4 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/1.026, allocations: 38.33 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/1.026, allocations: 4 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/1.026, allocations: 83.88 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.026, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.027, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.027, allocations: 4 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/1.027, allocations: 55.25 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/1.027, allocations: 338.9 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/1.028, allocations: 69.41 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/1.028, allocations: 4 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.028, allocations: 102.2 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/1.028, allocations: 0 / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000477/1.028, allocations: 167.3 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/1.028, allocations: 58.97 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/1.029, allocations: 127.2 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.029, allocations: 36.98 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/1.029, allocations: 97.25 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/1.029, allocations: 18.91 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.029, allocations: 4 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/1.029, allocations: 318.2 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/1.029, allocations: 31.47 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/1.029, allocations: 71.42 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/1.029, allocations: 40.03 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.029, allocations: 4 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002767/1.029, allocations: 138.2 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.029, allocations: 7.328 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.029, allocations: 5.031 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.029, allocations: 0.6875 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.03, allocations: 19.22 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/1.03, allocations: 4 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.03, allocations: 19.38 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.03, allocations: 16.14 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.03, allocations: 121.8 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/1.03, allocations: 7.906 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/1.03, allocations: 17.22 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.03, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.03, allocations: 0.6094 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.03, allocations: 4.359 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/1.031, allocations: 441.1 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.031, allocations: 0 / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/1.031, allocations: 11.66 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.031, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.031, allocations: 5.562 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.031, allocations: 3.938 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.031, allocations: 3.953 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/1.031, allocations: 231.7 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/1.031, allocations: 92.42 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/1.031, allocations: 4 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.031, allocations: 11.42 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/1.031, allocations: 11.38 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.031, allocations: 8.078 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.78e-05/1.031, allocations: 102.8 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 0 / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003465/1.032, allocations: 56.16 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004373/1.032, allocations: 169.9 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003067/1.032, allocations: 99.53 kB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.032, allocations: 0 / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/1.033, allocations: 48.34 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/1.033, allocations: 9.047 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/1.033, allocations: 235.7 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/1.034, allocations: 0.699 MB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.02e-05/1.034, allocations: 13.27 kB / 1.134 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/1.034, allocations: 16.38 kB / 1.134 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/1.034, allocations: 0 / 1.134 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.005272/1.039, allocations: 1.789 MB / 1.136 GB, free: 25.77 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)