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.526/1.526, allocations: 249.3 MB / 261.9 MB, free: 5.957 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.001127/0.001127, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001028/0.001028, allocations: 86.48 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.292e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8099/1.049, allocations: 133.9 MB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.05, allocations: 82.25 kB / 1.023 GB, free: 0.8047 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.01022/1.06, allocations: 3.143 MB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.715e-06/1.06, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.411e-05/1.06, allocations: 4 kB / 1.026 GB, free: 14.1 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.0006859/1.061, allocations: 472.5 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.061, allocations: 8.031 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/1.061, allocations: 35.38 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/1.061, allocations: 11.91 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/1.061, allocations: 167.7 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.061, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/1.061, allocations: 11.92 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/1.061, allocations: 73.11 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.061, allocations: 0 / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.061, allocations: 0 / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.061, allocations: 0 / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/1.062, allocations: 34.86 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/1.062, allocations: 342.4 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/1.062, allocations: 57.2 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/1.062, allocations: 28.58 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/1.062, allocations: 10.91 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/1.063, allocations: 87.09 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/1.063, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002743/1.063, allocations: 114.5 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/1.063, allocations: 62.64 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/1.063, allocations: 117.9 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.063, allocations: 29.27 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/1.063, allocations: 91.12 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/1.063, allocations: 19.47 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/1.063, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.063, allocations: 318.3 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/1.063, allocations: 27.12 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/1.064, allocations: 63.7 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/1.064, allocations: 31.41 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.064, allocations: 4 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000197/1.064, allocations: 123.4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.064, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.064, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.064, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.064, allocations: 19.92 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.064, allocations: 3.953 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.064, allocations: 27.27 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/1.064, allocations: 4 kB / 1.028 GB, free: 11.68 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 8.591e-05/1.064, allocations: 112.7 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/1.064, allocations: 7.906 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/1.065, allocations: 139.8 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.065, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.065, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.065, allocations: 4.047 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/1.065, allocations: 426 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.065, allocations: 0 / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/1.065, allocations: 12 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.065, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.065, allocations: 3.984 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.065, allocations: 3.953 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.065, allocations: 7.938 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/1.066, allocations: 212.8 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/1.066, allocations: 85 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/1.066, allocations: 7.938 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.066, allocations: 11.98 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/1.066, allocations: 11.94 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.066, allocations: 10.94 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.826e-05/1.066, allocations: 98.39 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.066, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003318/1.066, allocations: 54.88 kB / 1.029 GB, free: 10.5 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.0007571/1.067, allocations: 0.8241 MB / 1.03 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000168/1.067, allocations: 73.98 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.067, allocations: 0 / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/1.067, allocations: 50.36 kB / 1.03 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.067, allocations: 15.08 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/1.068, allocations: 185.6 kB / 1.03 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/1.068, allocations: 0.7004 MB / 1.031 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.892e-05/1.068, allocations: 4.438 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/1.068, allocations: 33.11 kB / 1.031 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of SimCode: time 2.054e-06/1.068, allocations: 3.938 kB / 1.031 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/1.085, allocations: 2.93 MB / 1.034 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.085, allocations: 209.5 kB / 1.034 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.754, allocations: 4.062 kB / 1.034 GB, free: 5.59 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)