Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.934 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.0009982/0.0009983, allocations: 187.7 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0009829/0.000983, allocations: 93.8 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.793e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7656/0.9809, allocations: 134.2 MB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.9811, allocations: 80.58 kB / 1.016 GB, free: 3.172 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.009166/0.9903, allocations: 3.143 MB / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9903, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9903, allocations: 0 / 1.019 GB, free: 0.5156 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.0006372/0.991, allocations: 463.9 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.991, allocations: 8.031 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.9911, allocations: 12.08 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.9913, allocations: 174.9 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.9913, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.9913, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.926e-05/0.9914, allocations: 33.66 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.9916, allocations: 68.19 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.9916, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9916, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.9916, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.9922, allocations: 311 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.9923, allocations: 58.11 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.9924, allocations: 26.05 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.9924, allocations: 8.031 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.9926, allocations: 88.19 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.9926, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002872/0.9929, allocations: 108.8 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9929, allocations: 54.91 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.993, allocations: 115 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.9931, allocations: 25.7 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.9931, allocations: 91.06 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.9932, allocations: 26.89 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.9932, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9933, allocations: 318.3 kB / 1.021 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.9934, allocations: 22.8 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.9934, allocations: 51.22 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.9935, allocations: 33.98 kB / 1.021 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.9935, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001617/0.9937, allocations: 102.9 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.9937, allocations: 7.938 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9937, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.9937, allocations: 4 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9939, allocations: 23.92 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9939, allocations: 4.125 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.994, allocations: 19.89 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.994, allocations: 7.953 kB / 1.022 GB, free: 14.21 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 9.138e-05/0.9941, allocations: 108 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001717/0.9943, allocations: 107.8 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.9943, allocations: 7.906 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.9946, allocations: 137.1 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.9946, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9946, allocations: 4.141 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9946, allocations: 3.984 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.9951, allocations: 388.7 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9951, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.9951, allocations: 12 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9952, allocations: 96 / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.9952, allocations: 3.984 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9952, allocations: 7.953 kB / 1.022 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9952, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.9954, allocations: 211.9 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.9955, allocations: 81.02 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.9955, allocations: 4 kB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.9957, allocations: 19.42 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.9957, allocations: 11.94 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.9957, allocations: 4 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.9958, allocations: 99.14 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9958, allocations: 0 / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003175/0.9961, allocations: 50.75 kB / 1.023 GB, free: 12.98 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.0007817/0.9969, allocations: 0.8094 MB / 1.024 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.9971, allocations: 63.05 kB / 1.024 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9971, allocations: 256 / 1.024 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.9972, allocations: 47.58 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.9974, allocations: 15.64 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.9979, allocations: 169.5 kB / 1.024 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.9982, allocations: 0.7001 MB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.9982, allocations: 12.44 kB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.9983, allocations: 27.05 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9983, allocations: 0 / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/1.021, allocations: 2.595 MB / 1.027 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.021, allocations: 200.4 kB / 1.027 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/2.5, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)