Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json 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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.347/2.347, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001127/0.001127, allocations: 97.97 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.174e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 106.3 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9002/1.097, allocations: 133.7 MB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004799/1.097, allocations: 78.45 kB / 1.021 GB, free: 1.492 MB / 0.6355 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.02445/1.122, allocations: 3.169 MB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.835e-06/1.122, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.49e-05/1.122, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6511 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.001178/1.123, allocations: 456.2 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/1.123, allocations: 8.031 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.682e-05/1.123, allocations: 34.56 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/1.123, allocations: 19.28 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/1.123, allocations: 175 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.124, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/1.124, allocations: 7.375 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/1.124, allocations: 75.83 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.124, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.124, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.124, allocations: 8 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/1.124, allocations: 35.61 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/1.125, allocations: 325.8 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/1.126, allocations: 64.94 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/1.126, allocations: 28.77 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/1.126, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/1.126, allocations: 90.94 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/1.126, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004396/1.127, allocations: 117.6 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.127, allocations: 66.95 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.127, allocations: 111.9 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.127, allocations: 28.7 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/1.127, allocations: 95.05 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/1.127, allocations: 18.97 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/1.127, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.127, allocations: 321 kB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/1.127, allocations: 23.56 kB / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.128, allocations: 68.33 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/1.128, allocations: 30.98 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.128, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/1.128, allocations: 118.9 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.128, allocations: 7.984 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.128, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.128, allocations: 4 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/1.128, allocations: 23.41 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.128, allocations: 7.875 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.129, allocations: 12 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.129, allocations: 11.8 kB / 1.027 GB, free: 12.36 MB / 0.6511 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 () * 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.0001065/1.129, allocations: 113 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/1.129, allocations: 7.906 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/1.129, allocations: 140.8 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.129, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.129, allocations: 3.953 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.129, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/1.13, allocations: 425 kB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.13, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.13, allocations: 15.98 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.13, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.13, allocations: 3.953 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.13, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.13, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/1.131, allocations: 218.5 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/1.131, allocations: 81.02 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/1.131, allocations: 7.5 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.131, allocations: 15.94 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/1.131, allocations: 11.92 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/1.131, allocations: 10.86 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.327e-05/1.131, allocations: 90.72 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.131, allocations: 4 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004679/1.132, allocations: 58.05 kB / 1.028 GB, free: 11.17 MB / 0.6511 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) * 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.001104/1.133, allocations: 0.8187 MB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000283/1.133, allocations: 74.55 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.133, allocations: 0 / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.133, allocations: 37.31 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/1.134, allocations: 14.75 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/1.134, allocations: 180.8 kB / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.135, allocations: 0.7046 MB / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.925e-05/1.135, allocations: 12.36 kB / 1.03 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/1.135, allocations: 30.61 kB / 1.03 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.135, allocations: 0 / 1.03 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/1.163, allocations: 2.925 MB / 1.033 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/1.163, allocations: 208.6 kB / 1.033 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.683, allocations: 0 / 1.033 GB, free: 6.285 MB / 0.6511 GB