Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.498/2.498, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001478/0.001477, allocations: 183.7 kB / 315.4 MB, free: 4.004 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.118/2.118, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001098/0.001098, allocations: 102 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.782e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9203/1.157, allocations: 134 MB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/1.157, allocations: 85.62 kB / 1.015 GB, free: 4.766 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.01609/1.173, allocations: 3.23 MB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.569e-06/1.173, allocations: 4 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.173, allocations: 0 / 1.018 GB, free: 2.031 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001001/1.174, allocations: 490 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.174, allocations: 8.031 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/1.174, allocations: 11.86 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/1.175, allocations: 177.2 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.175, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/1.175, allocations: 4 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001797/1.175, allocations: 41.11 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.175, allocations: 70.78 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.175, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.175, allocations: 4 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.175, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/1.176, allocations: 308.3 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/1.176, allocations: 71.19 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/1.176, allocations: 34.23 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/1.176, allocations: 7.484 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/1.177, allocations: 84.73 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/1.177, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004746/1.177, allocations: 131.8 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.177, allocations: 55.36 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.177, allocations: 124.9 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/1.178, allocations: 25.7 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/1.178, allocations: 92.55 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/1.178, allocations: 31.72 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.178, allocations: 3.625 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.178, allocations: 318.7 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/1.178, allocations: 23.75 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/1.178, allocations: 64.7 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/1.178, allocations: 31.53 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.178, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003034/1.179, allocations: 112.4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.179, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.179, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.179, allocations: 8.094 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.179, allocations: 19.92 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.179, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/1.179, allocations: 23.78 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.179, allocations: 7.562 kB / 1.021 GB, free: 15.64 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001268/1.179, allocations: 108.9 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003595/1.18, allocations: 128 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/1.18, allocations: 11.91 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.18, allocations: 130 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.18, allocations: 7.953 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.18, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-06/1.18, allocations: 3.984 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/1.181, allocations: 398.9 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.181, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.181, allocations: 15.98 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.181, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.181, allocations: 7.828 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.181, allocations: 0.875 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.181, allocations: 8.797 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/1.182, allocations: 225.1 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/1.182, allocations: 92.83 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/1.182, allocations: 3.984 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/1.182, allocations: 11.95 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.182, allocations: 11.97 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.182, allocations: 8 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.695e-05/1.182, allocations: 100.9 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.182, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004995/1.183, allocations: 55.88 kB / 1.022 GB, free: 14.38 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.001053/1.184, allocations: 0.8243 MB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002593/1.184, allocations: 74.5 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.184, allocations: 0 / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.184, allocations: 54.73 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/1.185, allocations: 15.94 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/1.185, allocations: 189 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.186, allocations: 0.7081 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.054e-05/1.186, allocations: 4.438 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/1.186, allocations: 30.73 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.186, allocations: 0 / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/1.225, allocations: 2.8 MB / 1.026 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/1.226, allocations: 184.5 kB / 1.027 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.721, allocations: 0 / 1.027 GB, free: 9.508 MB / 0.6511 GB