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.348/2.348, allocations: 251 MB / 265.9 MB, free: 11.68 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.00166/0.00166, allocations: 179.3 kB / 325.5 MB, free: 2.883 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.509/2.509, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.00114/0.00114, allocations: 94.22 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 8.406 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2249, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.4727, allocations: 133.8 MB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.4731, allocations: 95.92 kB / 1.03 GB, free: 11.44 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.01532/0.4884, allocations: 3.167 MB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.826e-06/0.4885, allocations: 0 / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.4885, allocations: 7.938 kB / 1.033 GB, free: 8.258 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.0008904/0.4894, allocations: 474.3 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4895, allocations: 12.03 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.4895, allocations: 38.55 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.4896, allocations: 7.953 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.4898, allocations: 178.8 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.4898, allocations: 12 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.4898, allocations: 4 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.4901, allocations: 73.64 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4901, allocations: 0 / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4901, allocations: 0 / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4902, allocations: 4 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4904, allocations: 47.91 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.4912, allocations: 324.8 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4914, allocations: 62.55 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4915, allocations: 8.156 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.4918, allocations: 103.3 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.4918, allocations: 0 / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006447/0.4924, allocations: 161.4 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4925, allocations: 59.41 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.4926, allocations: 118.2 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.4927, allocations: 29.7 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.4928, allocations: 88.75 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.4928, allocations: 23.7 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.4928, allocations: 4 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.493, allocations: 318.8 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4931, allocations: 35.92 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4933, allocations: 66.97 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4935, allocations: 39.92 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4935, allocations: 0 / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004089/0.4939, allocations: 133.4 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4939, allocations: 9.859 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.494, allocations: 4 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.494, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.4942, allocations: 20.11 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.4942, allocations: 15.88 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4944, allocations: 15.94 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4944, allocations: 7.984 kB / 1.035 GB, free: 5.555 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.0001301/0.4946, allocations: 117.8 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.4946, allocations: 7.906 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.4951, allocations: 165.7 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4952, allocations: 0 / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4952, allocations: 4 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4952, allocations: 3.953 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.4962, allocations: 430.4 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4962, allocations: 0 / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.4964, allocations: 15.94 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4964, allocations: 0 / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4964, allocations: 11.94 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4964, allocations: 0 / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4964, allocations: 0 / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.4969, allocations: 227.4 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.497, allocations: 89 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.497, allocations: 4 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.4972, allocations: 15.94 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.4973, allocations: 7.984 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.4973, allocations: 8 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.4974, allocations: 105.8 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4974, allocations: 0 / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004693/0.4979, allocations: 55.92 kB / 1.036 GB, free: 4.203 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.001143/0.4991, allocations: 0.8333 MB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.4995, allocations: 87.83 kB / 1.037 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4995, allocations: 0 / 1.037 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.4997, allocations: 48.22 kB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.5, allocations: 19.94 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5013, allocations: 1.232 MB / 1.038 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5016, allocations: 0.7004 MB / 1.039 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.966e-05/0.5017, allocations: 8.438 kB / 1.039 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.5018, allocations: 27.42 kB / 1.039 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of SimCode: time 1.603e-06/0.5018, allocations: 4 kB / 1.039 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.5254, allocations: 2.88 MB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/0.5258, allocations: 231.7 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.982, allocations: 7.938 kB / 1.042 GB, free: 14.15 MB / 0.698 GB