Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.728/3.728, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.002602/0.002602, allocations: 187.5 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.031/4.031, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001535/0.001535, allocations: 93.28 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008689/0.0008695, allocations: 18.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3204, allocations: 106.2 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.6711, allocations: 133.8 MB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004411/0.6716, allocations: 87.94 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02872/0.7004, allocations: 3.192 MB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.687e-06/0.7004, allocations: 0 / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.7005, allocations: 4 kB / 1.033 GB, free: 8.324 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.001441/0.7019, allocations: 472.6 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.702, allocations: 15.97 kB / 1.034 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.7021, allocations: 8.844 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.7024, allocations: 176.2 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.7025, allocations: 8.375 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.7025, allocations: 12.25 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.7029, allocations: 74.2 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.703, allocations: 192 / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.703, allocations: 7.938 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7031, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.7034, allocations: 47.97 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.7046, allocations: 324.8 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.705, allocations: 70.48 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.7053, allocations: 32.84 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.7053, allocations: 8.141 kB / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.7058, allocations: 103.3 kB / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.847e-06/0.7058, allocations: 0 / 1.035 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0009067/0.7067, allocations: 169.5 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.7068, allocations: 51.41 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.7071, allocations: 127 kB / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.7071, allocations: 33.7 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7073, allocations: 88.38 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.7073, allocations: 23.7 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.7074, allocations: 4.375 kB / 1.035 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.7076, allocations: 314.8 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.7078, allocations: 31.97 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.7081, allocations: 71.39 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.7084, allocations: 39.8 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7084, allocations: 4 kB / 1.036 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006975/0.7091, allocations: 137.4 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.7092, allocations: 5.562 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7092, allocations: 4 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.7093, allocations: 0 / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.7095, allocations: 15.98 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.7096, allocations: 4 kB / 1.036 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.7099, allocations: 24.05 kB / 1.036 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.7099, allocations: 4 kB / 1.036 GB, free: 5.613 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 0.0002269/0.7102, allocations: 125.7 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.7102, allocations: 7.906 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/0.7113, allocations: 145.9 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.7113, allocations: 8 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.7114, allocations: 3.938 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.7114, allocations: 3.984 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.7138, allocations: 430.3 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.7138, allocations: 0 / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.7141, allocations: 23.92 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.7142, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.7142, allocations: 4 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.7142, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.7142, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.715, allocations: 227.6 kB / 1.037 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.7153, allocations: 85.02 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.7154, allocations: 11.94 kB / 1.037 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.7162, allocations: 11.98 kB / 1.037 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.7163, allocations: 11.92 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.7164, allocations: 8 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001913/0.7166, allocations: 95.27 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.82e-07/0.7166, allocations: 0 / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008452/0.7175, allocations: 55.92 kB / 1.037 GB, free: 4.273 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 (12): * Single equations (assignments): 9 * 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.0006493/0.7182, allocations: 183 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.7187, allocations: 84.08 kB / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7187, allocations: 4.062 kB / 1.037 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.7189, allocations: 55.86 kB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.7195, allocations: 16.2 kB / 1.037 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.7203, allocations: 235 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.7207, allocations: 0.6926 MB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.997e-05/0.7209, allocations: 12.42 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.7209, allocations: 11.44 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/0.721, allocations: 4 kB / 1.038 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of Templates: time 0.008558/0.7295, allocations: 1.802 MB / 1.04 GB, free: 1.137 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)