Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.852 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.001017/0.001017, allocations: 168.9 kB / 316.3 MB, free: 3.23 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.672/1.672, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008981/0.0008981, allocations: 88.48 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.224e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7035/0.904, allocations: 134.2 MB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.9043, allocations: 85.06 kB / 1.016 GB, free: 3.234 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.009499/0.9139, allocations: 3.133 MB / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9139, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9139, allocations: 4 kB / 1.019 GB, free: 0.582 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.0005668/0.9145, allocations: 457 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.9145, allocations: 8.031 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.9146, allocations: 7.906 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.9148, allocations: 179 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.9148, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.9148, allocations: 8 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.346e-05/0.9149, allocations: 26.5 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9151, allocations: 64.41 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.9151, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.9151, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.9151, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.9157, allocations: 314 kB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.9158, allocations: 56.62 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.9159, allocations: 27.55 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.9159, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.9161, allocations: 86.16 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.9161, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002857/0.9164, allocations: 106.9 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9164, allocations: 56.25 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.9165, allocations: 115.7 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.9166, allocations: 25.7 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.9166, allocations: 95.17 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.9167, allocations: 22.92 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.9167, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9168, allocations: 326 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.9168, allocations: 18.44 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.9169, allocations: 58.7 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.917, allocations: 30.5 kB / 1.021 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.917, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001727/0.9172, allocations: 104 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9172, allocations: 11.94 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9172, allocations: 3.984 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9172, allocations: 4 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9173, allocations: 19.92 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9174, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.9175, allocations: 16.03 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.9175, allocations: 14.72 kB / 1.022 GB, free: 14.27 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.034e-05/0.9176, allocations: 111.5 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001835/0.9178, allocations: 109 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.9178, allocations: 7.984 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.918, allocations: 127.7 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9181, allocations: 11.94 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9181, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9181, allocations: 3.953 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.9186, allocations: 375.8 kB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.9186, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.9187, allocations: 15.92 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9187, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9187, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9187, allocations: 3.953 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9187, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.919, allocations: 207.9 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.919, allocations: 85.02 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.919, allocations: 0 / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.9192, allocations: 15.98 kB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.9192, allocations: 15.38 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.9192, allocations: 7.984 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.9193, allocations: 92.72 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9193, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003658/0.9197, allocations: 55.11 kB / 1.023 GB, free: 13.06 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.0007574/0.9204, allocations: 0.818 MB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.9206, allocations: 69.55 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9206, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.9207, allocations: 40.44 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.9209, allocations: 17.88 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.9214, allocations: 168.7 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.9217, allocations: 0.704 MB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.9218, allocations: 12.42 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.9218, allocations: 27.56 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9219, allocations: 0 / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.9431, allocations: 2.596 MB / 1.027 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.9434, allocations: 188.7 kB / 1.027 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.416, allocations: 3.781 kB / 1.027 GB, free: 8.441 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)