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.457/2.457, allocations: 248.5 MB / 261.1 MB, free: 5.988 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.001483/0.001482, allocations: 178.7 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.135/2.135, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001041/0.001041, allocations: 97.84 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.671e-05/5.668e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2276, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8937/1.121, allocations: 133.8 MB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/1.122, allocations: 79.14 kB / 1.021 GB, free: 1.473 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.02332/1.145, allocations: 3.245 MB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/1.145, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.145, allocations: 4 kB / 1.025 GB, free: 14.69 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000893/1.146, allocations: 493.8 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.146, allocations: 12.03 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/1.146, allocations: 38.44 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/1.146, allocations: 11.86 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/1.147, allocations: 175 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/1.147, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/1.147, allocations: 11.86 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.147, allocations: 70.09 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.147, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.147, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.147, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.147, allocations: 46.23 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/1.148, allocations: 326.1 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/1.148, allocations: 85.08 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.148, allocations: 42.33 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/1.148, allocations: 7.984 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/1.149, allocations: 95.73 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.076e-06/1.149, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004471/1.149, allocations: 134.5 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/1.149, allocations: 55.39 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.149, allocations: 117.3 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.149, allocations: 33.64 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.15, allocations: 94.92 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/1.15, allocations: 30.45 kB / 1.026 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/1.15, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.15, allocations: 322.6 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/1.15, allocations: 23.81 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/1.15, allocations: 67.19 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/1.15, allocations: 26.86 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.15, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003317/1.151, allocations: 122.2 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.151, allocations: 14.59 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.151, allocations: 7.922 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.151, allocations: 12.05 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.151, allocations: 15.98 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.151, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/1.151, allocations: 15.34 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/1.151, allocations: 7.984 kB / 1.027 GB, free: 12.18 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.151, allocations: 123.6 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/1.151, allocations: 7.906 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/1.152, allocations: 152.1 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.152, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.152, allocations: 3.953 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.152, allocations: 3.984 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/1.153, allocations: 428.9 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.153, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/1.153, allocations: 19.98 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.153, allocations: 3.953 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.153, allocations: 11.69 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.153, allocations: 3.984 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.153, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/1.153, allocations: 229 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/1.153, allocations: 81.02 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/1.153, allocations: 14.7 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/1.154, allocations: 15.05 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/1.154, allocations: 7.984 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.154, allocations: 4 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001009/1.154, allocations: 100.2 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.154, allocations: 3.938 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004841/1.154, allocations: 66.61 kB / 1.028 GB, free: 10.95 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.001078/1.155, allocations: 0.8272 MB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003064/1.156, allocations: 84.73 kB / 1.029 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.156, allocations: 4.188 kB / 1.029 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.156, allocations: 49.61 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/1.156, allocations: 15.86 kB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/1.157, allocations: 195.9 kB / 1.029 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.157, allocations: 0.7004 MB / 1.03 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.224e-05/1.158, allocations: 24.39 kB / 1.03 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/1.158, allocations: 32.8 kB / 1.03 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of SimCode: time 1.313e-06/1.158, allocations: 0 / 1.03 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/1.187, allocations: 3.136 MB / 1.033 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/1.188, allocations: 204.6 kB / 1.033 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.561, allocations: 4.062 kB / 1.033 GB, free: 5.824 MB / 0.6511 GB