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.462/2.462, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002606/0.002606, allocations: 182.5 kB / 325.5 MB, free: 2.895 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.457/2.457, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001119/0.001119, allocations: 100.3 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 9.031 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.4821, allocations: 133.8 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.4825, allocations: 87.94 kB / 1.03 GB, free: 11.41 MB / 0.6823 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.01564/0.4982, allocations: 3.171 MB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4982, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.4983, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 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.001004/0.4993, allocations: 486.2 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4994, allocations: 12.03 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.864e-05/0.4994, allocations: 34.55 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.4995, allocations: 7.953 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4997, allocations: 178.9 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4997, allocations: 4 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.4997, allocations: 4 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.5, allocations: 81.58 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.5001, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.5001, allocations: 4 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.5003, allocations: 47.91 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.5012, allocations: 328.8 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.5014, allocations: 66.55 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.5015, allocations: 4.031 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.5017, allocations: 99.27 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.5018, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006232/0.5024, allocations: 161.4 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.5025, allocations: 59.41 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5026, allocations: 115.4 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.5026, allocations: 33.69 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.5027, allocations: 92.38 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.5028, allocations: 19.72 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5028, allocations: 0 / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.503, allocations: 322.8 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5031, allocations: 27.98 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5033, allocations: 74.91 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5035, allocations: 35.98 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5035, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004117/0.5039, allocations: 129.4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5039, allocations: 5.25 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.504, allocations: 4 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.504, allocations: 3.984 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.5042, allocations: 28.23 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5042, allocations: 7.953 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.5044, allocations: 16.06 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5044, allocations: 7.984 kB / 1.035 GB, free: 5.531 MB / 0.6823 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.0001815/0.5046, allocations: 127.7 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.5047, allocations: 7.906 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.5052, allocations: 153.9 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5052, allocations: 0 / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5052, allocations: 4 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5053, allocations: 3.953 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.5062, allocations: 434.5 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5062, allocations: 0 / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5063, allocations: 12 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5063, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.5064, allocations: 11.94 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5064, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5064, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.5069, allocations: 235.3 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.5069, allocations: 85.02 kB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.507, allocations: 7.984 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5072, allocations: 15.95 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.5073, allocations: 11.97 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.5073, allocations: 4 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.5074, allocations: 99.27 kB / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5074, allocations: 0 / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004737/0.5079, allocations: 55.88 kB / 1.036 GB, free: 4.18 MB / 0.6823 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.001196/0.5091, allocations: 0.8331 MB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.5095, allocations: 83.89 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5095, allocations: 0 / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.5097, allocations: 47.97 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.51, allocations: 16.2 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5114, allocations: 1.24 MB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5117, allocations: 0.6965 MB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.231e-05/0.5119, allocations: 8.609 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.512, allocations: 31.42 kB / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/0.512, allocations: 0 / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.5354, allocations: 2.896 MB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/0.5359, allocations: 228.5 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.037, allocations: 0.625 kB / 1.042 GB, free: 14.13 MB / 0.698 GB