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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001274/0.001274, allocations: 196.5 kB / 376.9 MB, free: 1.824 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.722/1.722, allocations: 205.1 MB / 0.6354 GB, free: 9.824 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.001098/0.001098, allocations: 101 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 48.06 kB / 0.8704 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2888, allocations: 114.5 MB / 0.9822 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003658/0.2925, allocations: 1.576 MB / 0.9837 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2942, allocations: 0.7723 MB / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.2943, allocations: 0 / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.2943, allocations: 0 / 0.9845 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.2945, allocations: 15.86 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.2951, allocations: 95.77 kB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2953, allocations: 71.78 kB / 0.9847 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2954, allocations: 15.98 kB / 0.9847 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2956, allocations: 35.91 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.2957, allocations: 39.83 kB / 0.9848 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2957, allocations: 4 kB / 0.9848 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.2959, allocations: 83.84 kB / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.296, allocations: 11.98 kB / 0.9849 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.2961, allocations: 35.8 kB / 0.9849 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.2964, allocations: 135.9 kB / 0.985 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2964, allocations: 3.938 kB / 0.985 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2964, allocations: 0 / 0.985 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2964, allocations: 0 / 0.985 GB, free: 7.535 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.0009161/0.2973, allocations: 421 kB / 0.9854 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.2974, allocations: 12.03 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2975, allocations: 4.844 kB / 0.9854 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2977, allocations: 180.2 kB / 0.9856 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.2977, allocations: 8.375 kB / 0.9856 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2978, allocations: 8.359 kB / 0.9856 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.298, allocations: 65.97 kB / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.298, allocations: 8 kB / 0.9857 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.298, allocations: 4 kB / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2981, allocations: 0 / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2982, allocations: 35.97 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.2989, allocations: 316.6 kB / 0.986 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.299, allocations: 50.56 kB / 0.9861 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.2991, allocations: 32.97 kB / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2992, allocations: 0 / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2995, allocations: 75.44 kB / 0.9862 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.2995, allocations: 3.938 kB / 0.9862 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004143/0.2999, allocations: 145.5 kB / 0.9863 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.2999, allocations: 55.41 kB / 0.9864 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3001, allocations: 118.1 kB / 0.9865 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3001, allocations: 33.7 kB / 0.9865 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3002, allocations: 88.12 kB / 0.9866 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3002, allocations: 19.75 kB / 0.9866 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3003, allocations: 25.7 kB / 0.9867 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3004, allocations: 330.8 kB / 0.987 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.3005, allocations: 23.98 kB / 0.987 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3007, allocations: 50.61 kB / 0.987 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3008, allocations: 82.47 kB / 0.9871 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3009, allocations: 0 / 0.9871 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002552/0.3011, allocations: 113.5 kB / 0.9872 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3012, allocations: 4 kB / 0.9872 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3012, allocations: 0 / 0.9872 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3012, allocations: 0 / 0.9872 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3013, allocations: 15.92 kB / 0.9873 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3013, allocations: 4 kB / 0.9873 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.3014, allocations: 12.06 kB / 0.9873 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3014, allocations: 4 kB / 0.9873 GB, free: 4.984 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3015, allocations: 125.8 kB / 0.9874 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.3016, allocations: 11.89 kB / 0.9874 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.3016, allocations: 8.312 kB / 0.9874 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3016, allocations: 0 / 0.9874 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3016, allocations: 0 / 0.9874 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3016, allocations: 0 / 0.9874 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.3022, allocations: 398.7 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3022, allocations: 0 / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.3022, allocations: 4 kB / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.3023, allocations: 11.91 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3023, allocations: 0 / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3023, allocations: 0 / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3023, allocations: 3.938 kB / 0.9878 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.303, allocations: 0.7902 MB / 0.9886 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.303, allocations: 85.03 kB / 0.9887 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.303, allocations: 4 kB / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.3031, allocations: 4 kB / 0.9887 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3032, allocations: 7.984 kB / 0.9887 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3032, allocations: 0 / 0.9887 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.813e-05/0.3033, allocations: 99.27 kB / 0.9888 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3033, allocations: 0 / 0.9888 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004331/0.3037, allocations: 39.91 kB / 0.9888 GB, free: 3.262 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004268/0.3042, allocations: 157.3 kB / 0.989 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3045, allocations: 71.95 kB / 0.989 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3045, allocations: 0 / 0.989 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3046, allocations: 43.91 kB / 0.9891 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3049, allocations: 11.92 kB / 0.9891 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.3055, allocations: 309.2 kB / 0.9894 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3058, allocations: 0.6887 MB / 0.9901 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.3059, allocations: 4 kB / 0.9901 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3059, allocations: 19.42 kB / 0.9901 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.3059, allocations: 0 / 0.9901 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of Templates: time 0.004583/0.3105, allocations: 1.408 MB / 0.9914 GB, free: 0.5039 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)