Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.704/1.704, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001104/0.001104, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.823/1.823, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.000867/0.000867, allocations: 86.8 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.925e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7978, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/1.013, allocations: 140.2 MB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.013, allocations: 81.11 kB / 1.11 GB, free: 9.855 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.009358/1.022, allocations: 2.957 MB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.136e-06/1.022, allocations: 4 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.022, allocations: 0.9375 kB / 1.113 GB, free: 6.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005316/1.023, allocations: 417.4 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.023, allocations: 8.031 kB / 1.114 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/1.023, allocations: 8.438 kB / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.023, allocations: 174.1 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.023, allocations: 3.984 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.023, allocations: 4 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.283e-05/1.023, allocations: 23.98 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.023, allocations: 57.67 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/1.023, allocations: 0 / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.023, allocations: 0 / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.023, allocations: 0 / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/1.024, allocations: 293 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/1.024, allocations: 42.56 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/1.024, allocations: 20.98 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/1.024, allocations: 11.33 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/1.024, allocations: 67.3 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/1.024, allocations: 0 / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002518/1.025, allocations: 93.75 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.025, allocations: 59.33 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/1.025, allocations: 116.3 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.025, allocations: 29.69 kB / 1.115 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/1.025, allocations: 90.67 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/1.025, allocations: 20.41 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.025, allocations: 0 / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.025, allocations: 318.8 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/1.025, allocations: 20 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/1.025, allocations: 43.55 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/1.025, allocations: 21.8 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.025, allocations: 0 / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001567/1.025, allocations: 96.17 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.025, allocations: 4.938 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.025, allocations: 0 / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.025, allocations: 4 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/1.025, allocations: 11.98 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.026, allocations: 0 / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/1.026, allocations: 8 kB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.026, allocations: 3.938 kB / 1.115 GB, free: 4.703 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.76e-05/1.026, allocations: 121.7 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001584/1.026, allocations: 100.8 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/1.026, allocations: 4 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/1.026, allocations: 8.625 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.026, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.026, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.026, allocations: 4 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/1.026, allocations: 345.6 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.026, allocations: 0 / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/1.026, allocations: 8 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.026, allocations: 0 / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.026, allocations: 0 / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/1.026, allocations: 7.984 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.026, allocations: 3.938 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/1.027, allocations: 191.4 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/1.027, allocations: 81.02 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/1.027, allocations: 0 / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/1.027, allocations: 15.98 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/1.027, allocations: 0 / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.027, allocations: 7.984 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.629e-05/1.027, allocations: 95.23 kB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 0 / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002876/1.027, allocations: 47.92 kB / 1.116 GB, free: 3.602 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007751/1.028, allocations: 0.7958 MB / 1.117 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.028, allocations: 55.97 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/1.028, allocations: 0 / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/1.028, allocations: 32.06 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.028, allocations: 6.062 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/1.029, allocations: 143.1 kB / 1.117 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.029, allocations: 0.6892 MB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.088e-05/1.029, allocations: 9.422 kB / 1.118 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/1.029, allocations: 19.44 kB / 1.118 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.029, allocations: 4 kB / 1.118 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/1.052, allocations: 2.19 MB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.053, allocations: 197.6 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.681, allocations: 0 / 1.12 GB, free: 15.38 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)