Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009902/0.0009901, allocations: 184.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007928/0.0007931, allocations: 91.22 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.077e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7083, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.9231, allocations: 140.4 MB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.9234, allocations: 83.94 kB / 1.111 GB, free: 9.574 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00964/0.9331, allocations: 3.128 MB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9331, allocations: 0 / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.9331, allocations: 3.188 kB / 1.114 GB, free: 6.484 MB / 0.7136 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.0006656/0.9338, allocations: 467.7 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9338, allocations: 8.031 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.9339, allocations: 11.44 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.9341, allocations: 190.8 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.9342, allocations: 29.7 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.9342, allocations: 4 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/0.9343, allocations: 34.73 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.9344, allocations: 61.66 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9345, allocations: 0 / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9345, allocations: 0 / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.9345, allocations: 1.969 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.9351, allocations: 314.1 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.9352, allocations: 54.56 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.9353, allocations: 28.86 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.9353, allocations: 0 / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.9355, allocations: 86.56 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.9355, allocations: 0 / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002884/0.9358, allocations: 109.6 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.9359, allocations: 55.41 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.936, allocations: 122.4 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.9361, allocations: 32.7 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.9362, allocations: 94.16 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.9362, allocations: 27.84 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.9362, allocations: 0 / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9364, allocations: 322.8 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.9364, allocations: 20 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.9365, allocations: 57.16 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.53e-05/0.9366, allocations: 23.98 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9366, allocations: 0 / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001783/0.9367, allocations: 109.5 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9368, allocations: 8 kB / 1.116 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9368, allocations: 0 / 1.116 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9368, allocations: 4 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.9369, allocations: 19.98 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9369, allocations: 3.938 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.9371, allocations: 19.92 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.9371, allocations: 4 kB / 1.116 GB, free: 3.984 MB / 0.7136 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.97e-05/0.9372, allocations: 117 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001846/0.9374, allocations: 110.9 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.9374, allocations: 7.906 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.9375, allocations: 12.7 kB / 1.116 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9375, allocations: 7.984 kB / 1.116 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9375, allocations: 0 / 1.116 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.9375, allocations: 3.953 kB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.938, allocations: 377.8 kB / 1.116 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.938, allocations: 2.625 kB / 1.116 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.9381, allocations: 11.98 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9381, allocations: 3.938 kB / 1.116 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.9381, allocations: 3.984 kB / 1.116 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9381, allocations: 4 kB / 1.116 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9381, allocations: 3.953 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.9384, allocations: 203.4 kB / 1.117 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.9385, allocations: 88.95 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.9385, allocations: 0 / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.9386, allocations: 15.98 kB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.9387, allocations: 11.94 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.9387, allocations: 11.92 kB / 1.117 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.9388, allocations: 100.1 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9388, allocations: 0 / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003228/0.9391, allocations: 51.92 kB / 1.117 GB, free: 2.773 MB / 0.7136 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 (10): * Single equations (assignments): 7 * 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.0009023/0.94, allocations: 0.808 MB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.9402, allocations: 63.92 kB / 1.118 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9402, allocations: 0 / 1.118 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.9403, allocations: 35.94 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.9405, allocations: 11.98 kB / 1.118 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.9411, allocations: 180.9 kB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.9414, allocations: 0.6924 MB / 1.119 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.9415, allocations: 20.77 kB / 1.119 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.9415, allocations: 23.42 kB / 1.119 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9415, allocations: 4 kB / 1.119 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.9648, allocations: 2.583 MB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.965, allocations: 176.9 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.653, allocations: 0 / 1.121 GB, free: 14.16 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)