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.29/2.29, allocations: 248.5 MB / 261 MB, free: 6.047 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.001492/0.001492, allocations: 175.7 kB / 320.4 MB, free: 15.34 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.004/2.004, allocations: 205.1 MB / 0.571 GB, free: 11.74 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.001153/0.001152, allocations: 95.78 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.132e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9026/1.116, allocations: 133.7 MB / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.116, allocations: 87.56 kB / 1.021 GB, free: 1.508 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.01576/1.132, allocations: 3.163 MB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.204e-06/1.132, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.132, allocations: 0 / 1.024 GB, free: 14.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009442/1.133, allocations: 463.3 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.133, allocations: 12.03 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/1.133, allocations: 38.3 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/1.133, allocations: 11.86 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.134, allocations: 179 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.134, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.134, allocations: 7.688 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/1.134, allocations: 68.28 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.134, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.134, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.134, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/1.134, allocations: 43.3 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/1.135, allocations: 325.3 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.135, allocations: 63.38 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/1.135, allocations: 29.02 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/1.135, allocations: 4.031 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/1.136, allocations: 88.97 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.915e-06/1.136, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003695/1.136, allocations: 121.5 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.136, allocations: 51.56 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.136, allocations: 122.9 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.136, allocations: 25.7 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/1.136, allocations: 99.41 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/1.136, allocations: 19.22 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.136, allocations: 3.5 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.137, allocations: 318.7 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/1.137, allocations: 23.75 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.137, allocations: 68.52 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/1.137, allocations: 30.61 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.137, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/1.137, allocations: 115.2 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.137, allocations: 12.12 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.137, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.137, allocations: 4 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.138, allocations: 23.78 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.138, allocations: 3.938 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.138, allocations: 19.98 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.138, allocations: 7.984 kB / 1.027 GB, free: 12.38 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.0001161/1.138, allocations: 115.9 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/1.138, allocations: 7.906 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/1.138, allocations: 139.6 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.138, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.138, allocations: 3.953 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.138, allocations: 3.984 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/1.139, allocations: 412.8 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.139, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.139, allocations: 15.92 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/1.139, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/1.139, allocations: 6.891 kB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.139, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.14, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/1.14, allocations: 221.6 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/1.14, allocations: 81.02 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/1.14, allocations: 7.984 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/1.141, allocations: 11.39 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.141, allocations: 11.98 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/1.141, allocations: 3.984 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001465/1.141, allocations: 106.7 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.82e-07/1.141, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009232/1.142, allocations: 63.05 kB / 1.028 GB, free: 11.2 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.001469/1.143, allocations: 0.8174 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003245/1.144, allocations: 77.98 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.144, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.144, allocations: 35.75 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/1.144, allocations: 18.69 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/1.145, allocations: 185.2 kB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/1.146, allocations: 0.6968 MB / 1.03 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.609e-05/1.146, allocations: 20.53 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/1.146, allocations: 25.98 kB / 1.03 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/1.146, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/1.177, allocations: 2.926 MB / 1.033 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004298/1.178, allocations: 200.7 kB / 1.033 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.733, allocations: 2.812 kB / 1.033 GB, free: 6.312 MB / 0.6511 GB