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.664/2.664, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001397/0.001397, allocations: 178.4 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.134/2.134, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.00119/0.00119, allocations: 91.86 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.22e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9295/1.139, allocations: 134 MB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.139, allocations: 79.58 kB / 1.015 GB, free: 4.801 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.01524/1.154, allocations: 3.148 MB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.154, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.154, allocations: 0 / 1.018 GB, free: 2.137 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.0008408/1.155, allocations: 455.6 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.155, allocations: 12.03 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/1.155, allocations: 15.84 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/1.155, allocations: 166.3 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/1.155, allocations: 4 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/1.155, allocations: 7.938 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000146/1.156, allocations: 33.73 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/1.156, allocations: 57.86 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.156, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.156, allocations: 7.984 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.156, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/1.157, allocations: 314 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/1.157, allocations: 52.77 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/1.157, allocations: 27.91 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/1.157, allocations: 7.375 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/1.157, allocations: 89.69 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/1.157, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004264/1.158, allocations: 107.8 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.158, allocations: 67.33 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.158, allocations: 111.9 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.158, allocations: 25.7 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/1.158, allocations: 93.8 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/1.158, allocations: 18.84 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-06/1.158, allocations: 4 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.158, allocations: 322.8 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/1.158, allocations: 18.69 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/1.158, allocations: 59.58 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/1.159, allocations: 31.61 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.159, allocations: 4 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002736/1.159, allocations: 105.9 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.159, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.159, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.159, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.159, allocations: 19.05 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/1.159, allocations: 8.125 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.159, allocations: 15.94 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.159, allocations: 4 kB / 1.02 GB, free: 15.84 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 0.0001208/1.16, allocations: 111.5 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000306/1.16, allocations: 110.8 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/1.16, allocations: 7.906 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/1.16, allocations: 133 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.16, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.16, allocations: 3.953 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.16, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/1.161, allocations: 385.7 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.161, allocations: 192 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.161, allocations: 15.61 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.161, allocations: 7.938 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.162, allocations: 3.953 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.162, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.162, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/1.162, allocations: 209.7 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/1.162, allocations: 85.02 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/1.162, allocations: 3.625 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.162, allocations: 23.94 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/1.162, allocations: 8.078 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/1.162, allocations: 7.984 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.907e-05/1.162, allocations: 94.09 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.162, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004939/1.163, allocations: 51.92 kB / 1.021 GB, free: 14.62 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.001093/1.164, allocations: 0.8181 MB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002629/1.164, allocations: 66.61 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.164, allocations: 256 / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/1.164, allocations: 38.88 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/1.165, allocations: 19.38 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/1.166, allocations: 172.3 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.166, allocations: 0.6963 MB / 1.023 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.066e-05/1.166, allocations: 16.42 kB / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/1.166, allocations: 26.3 kB / 1.023 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/1.166, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/1.206, allocations: 2.588 MB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/1.207, allocations: 193.3 kB / 1.026 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.509, allocations: 3.938 kB / 1.026 GB, free: 9.984 MB / 0.6511 GB