Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.00135/0.00135, allocations: 176.5 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009528/0.0009527, allocations: 88.47 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009675/0.0009677, allocations: 12.09 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.225, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9464/1.171, allocations: 140.1 MB / 1.116 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.172, allocations: 88.67 kB / 1.116 GB, free: 15.87 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01407/1.186, allocations: 3.182 MB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/1.186, allocations: 0 / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.186, allocations: 7.844 kB / 1.119 GB, free: 31.41 MB / 0.698 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.0008397/1.187, allocations: 468.9 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.187, allocations: 7.688 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/1.187, allocations: 11.56 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.187, allocations: 175.2 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/1.187, allocations: 4.312 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/1.187, allocations: 12.23 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.187, allocations: 83.44 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.187, allocations: 192 / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/1.187, allocations: 6.844 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.187, allocations: 4 kB / 1.12 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/1.188, allocations: 44.38 kB / 1.12 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/1.188, allocations: 329.7 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/1.189, allocations: 73.48 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/1.189, allocations: 34.67 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.189, allocations: 3.844 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/1.189, allocations: 90.81 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/1.189, allocations: 0 / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005636/1.19, allocations: 165.7 kB / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/1.19, allocations: 60.39 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.19, allocations: 128.6 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/1.19, allocations: 29.64 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/1.19, allocations: 93.17 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/1.19, allocations: 24.83 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.19, allocations: 0 / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.19, allocations: 321.8 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.19, allocations: 31.88 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/1.19, allocations: 64.83 kB / 1.121 GB, free: 29.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/1.191, allocations: 112.6 kB / 1.122 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.191, allocations: 0 / 1.122 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000351/1.191, allocations: 133 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.191, allocations: 3.906 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.191, allocations: 0 / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.191, allocations: 9.438 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.191, allocations: 21.88 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.191, allocations: 5.547 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.192, allocations: 14.25 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/1.192, allocations: 3.844 kB / 1.122 GB, free: 29.51 MB / 0.698 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.0001396/1.192, allocations: 138.4 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.192, allocations: 9.859 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/1.192, allocations: 140.6 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.192, allocations: 3.938 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.192, allocations: 0 / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.192, allocations: 6.844 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/1.193, allocations: 438.7 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.193, allocations: 0 / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.193, allocations: 14.34 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.193, allocations: 0 / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/1.193, allocations: 6.625 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.193, allocations: 0 / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.193, allocations: 3.844 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/1.194, allocations: 233.7 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/1.194, allocations: 84.92 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/1.194, allocations: 3.625 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.194, allocations: 17.97 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/1.194, allocations: 10.92 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.194, allocations: 7.688 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.661e-05/1.194, allocations: 97 kB / 1.123 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.194, allocations: 0 / 1.123 GB, free: 28.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004743/1.195, allocations: 58.38 kB / 1.123 GB, free: 28.68 MB / 0.698 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.0004638/1.195, allocations: 178.9 kB / 1.123 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003455/1.196, allocations: 87.62 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.196, allocations: 0 / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/1.196, allocations: 49.22 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/1.196, allocations: 19.77 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/1.197, allocations: 232.2 kB / 1.124 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.197, allocations: 0.7002 MB / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.658e-05/1.197, allocations: 7.203 kB / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/1.197, allocations: 11.34 kB / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.197, allocations: 3.812 kB / 1.124 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Templates: time 0.00608/1.203, allocations: 1.798 MB / 1.126 GB, free: 27.55 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)