Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009303/0.0009304, allocations: 178.5 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 0.5785 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 95.84 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 12.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.3261, allocations: 133.9 MB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.3265, allocations: 87.94 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009153/0.3357, allocations: 3.169 MB / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3357, allocations: 0 / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3357, allocations: 0 / 1.035 GB, free: 6.297 MB / 0.6823 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.0005765/0.3363, allocations: 478.5 kB / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3363, allocations: 11.97 kB / 1.036 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3364, allocations: 16.84 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3365, allocations: 180.2 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.3366, allocations: 38.2 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3366, allocations: 4.375 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3368, allocations: 78.2 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3368, allocations: 11.86 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3369, allocations: 0 / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3369, allocations: 4 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.3371, allocations: 55.95 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.3376, allocations: 332.7 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3378, allocations: 70.53 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.3379, allocations: 40.84 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.338, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3382, allocations: 111.3 kB / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3382, allocations: 0 / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004567/0.3386, allocations: 165.5 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3387, allocations: 59.41 kB / 1.037 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.3388, allocations: 132.5 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3388, allocations: 29.7 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3389, allocations: 96.31 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3389, allocations: 27.84 kB / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3389, allocations: 0 / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.339, allocations: 326.8 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.3391, allocations: 31.98 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3393, allocations: 69.12 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.3395, allocations: 113 kB / 1.038 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3395, allocations: 4 kB / 1.038 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.3398, allocations: 141.5 kB / 1.038 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3398, allocations: 4 kB / 1.038 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3398, allocations: 0 / 1.038 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3398, allocations: 4 kB / 1.038 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.34, allocations: 15.98 kB / 1.038 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.34, allocations: 8.312 kB / 1.038 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3401, allocations: 16.05 kB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3401, allocations: 11.94 kB / 1.038 GB, free: 3.383 MB / 0.6823 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 9.335e-05/0.3402, allocations: 125.8 kB / 1.038 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3402, allocations: 11.84 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.3403, allocations: 8.719 kB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3403, allocations: 4 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3403, allocations: 0 / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3403, allocations: 0 / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.3409, allocations: 446.3 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3409, allocations: 0 / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.3409, allocations: 19.91 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.341, allocations: 0 / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.341, allocations: 8 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.341, allocations: 0 / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.341, allocations: 3.938 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3413, allocations: 231.3 kB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3414, allocations: 81.02 kB / 1.039 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3414, allocations: 12 kB / 1.039 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3415, allocations: 11.98 kB / 1.039 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3416, allocations: 15.92 kB / 1.039 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3416, allocations: 7.984 kB / 1.039 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.3416, allocations: 101.5 kB / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3417, allocations: 0 / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002904/0.342, allocations: 55.92 kB / 1.039 GB, free: 2.168 MB / 0.6823 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.0003086/0.3423, allocations: 182.8 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3426, allocations: 87.83 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3426, allocations: 4.25 kB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3427, allocations: 47.97 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.343, allocations: 15.92 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.3434, allocations: 235 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3436, allocations: 0.6965 MB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.3437, allocations: 12.67 kB / 1.04 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.3438, allocations: 19.42 kB / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.3438, allocations: 0 / 1.04 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of Templates: time 0.004019/0.3478, allocations: 1.785 MB / 1.042 GB, free: 15.06 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)