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 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.Love1998Light2,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.521/2.521, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.002219/0.002219, allocations: 182.2 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.47/2.47, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 88.38 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.569e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9162/1.12, allocations: 134 MB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.121, allocations: 81.45 kB / 1.015 GB, free: 4.875 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.01462/1.135, allocations: 3.151 MB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/1.135, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.135, allocations: 4 kB / 1.018 GB, free: 2.195 MB / 0.6355 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.0008173/1.136, allocations: 461.5 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.136, allocations: 8.031 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/1.136, allocations: 15.84 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.137, allocations: 171.7 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.137, allocations: 0 / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/1.137, allocations: 7.938 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/1.137, allocations: 27.86 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/1.137, allocations: 65.3 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.137, allocations: 0 / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/1.137, allocations: 7.969 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.137, allocations: 4 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/1.138, allocations: 307.6 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.138, allocations: 54.19 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/1.138, allocations: 32.47 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/1.138, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/1.138, allocations: 86.66 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/1.138, allocations: 0.75 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003614/1.139, allocations: 105.1 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.139, allocations: 67.31 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.139, allocations: 120.1 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.139, allocations: 25.7 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/1.139, allocations: 96.23 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/1.139, allocations: 15.72 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/1.139, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.139, allocations: 322.8 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/1.139, allocations: 15.62 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/1.139, allocations: 68.52 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/1.139, allocations: 27.73 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.139, allocations: 0 / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002863/1.14, allocations: 108.8 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.14, allocations: 8 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.14, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.14, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.14, allocations: 15.98 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.14, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.14, allocations: 23.81 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.14, allocations: 4 kB / 1.02 GB, free: 15.9 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 9.898e-05/1.14, allocations: 111.8 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002784/1.141, allocations: 116.9 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/1.141, allocations: 7.906 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/1.141, allocations: 129.2 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.141, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.141, allocations: 3.953 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.141, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/1.142, allocations: 387.3 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.142, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.142, allocations: 19.98 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.142, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.142, allocations: 3.953 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.142, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.142, allocations: 3.984 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/1.142, allocations: 214.5 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/1.142, allocations: 84.98 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/1.143, allocations: 11.97 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/1.143, allocations: 7.953 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/1.143, allocations: 16.06 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.143, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.846e-05/1.143, allocations: 99.03 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.143, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004838/1.143, allocations: 51.92 kB / 1.021 GB, free: 14.67 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.001077/1.144, allocations: 0.8061 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002354/1.145, allocations: 71.17 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.145, allocations: 3.938 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.145, allocations: 35.69 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/1.145, allocations: 15.88 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/1.146, allocations: 173.3 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.146, allocations: 0.7002 MB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.853e-05/1.146, allocations: 8.422 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/1.146, allocations: 30.98 kB / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.146, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/1.184, allocations: 2.586 MB / 1.026 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/1.184, allocations: 182.4 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.571, allocations: 6.047 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB