Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001222/0.001223, allocations: 192.5 kB / 376.9 MB, free: 1.82 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.625/1.625, allocations: 205.1 MB / 0.6354 GB, free: 9.789 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.001019/0.001019, allocations: 99.34 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2928, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003311/0.2962, allocations: 1.557 MB / 0.9837 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.2983, allocations: 0.7761 MB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.2984, allocations: 4 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.2984, allocations: 3.938 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.2986, allocations: 7.922 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.2992, allocations: 95.77 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.2993, allocations: 71.78 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2995, allocations: 11.98 kB / 0.9847 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.2996, allocations: 39.91 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.2997, allocations: 39.83 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2997, allocations: 4 kB / 0.9848 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.3, allocations: 83.84 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.3001, allocations: 11.98 kB / 0.9849 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.3002, allocations: 35.8 kB / 0.9849 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3004, allocations: 135.9 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3004, allocations: 4 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3004, allocations: 4 kB / 0.985 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3004, allocations: 0 / 0.985 GB, free: 7.496 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.0007348/0.3012, allocations: 413 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.903e-05/0.3013, allocations: 12.03 kB / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.3014, allocations: 12.78 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.3015, allocations: 184.1 kB / 0.9856 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3016, allocations: 4.375 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3016, allocations: 8.375 kB / 0.9856 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3019, allocations: 69.97 kB / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3019, allocations: 0 / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3019, allocations: 4 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3019, allocations: 0 / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.3021, allocations: 35.97 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.3031, allocations: 320.6 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3033, allocations: 46.56 kB / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3034, allocations: 36.91 kB / 0.9861 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3035, allocations: 0 / 0.9861 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.3038, allocations: 87.38 kB / 0.9862 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.3039, allocations: 0 / 0.9862 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0006214/0.3045, allocations: 137.5 kB / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.3046, allocations: 55.41 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3047, allocations: 121.8 kB / 0.9865 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3048, allocations: 29.7 kB / 0.9865 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.3049, allocations: 92.12 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3049, allocations: 19.75 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.305, allocations: 25.7 kB / 0.9867 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3051, allocations: 326.8 kB / 0.987 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3053, allocations: 23.98 kB / 0.987 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3055, allocations: 46.56 kB / 0.987 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3057, allocations: 78.8 kB / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3057, allocations: 0 / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003419/0.3061, allocations: 121.5 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3061, allocations: 4 kB / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3061, allocations: 0 / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3062, allocations: 4 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3063, allocations: 23.98 kB / 0.9873 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3064, allocations: 0 / 0.9873 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.3065, allocations: 4 kB / 0.9873 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3065, allocations: 4 kB / 0.9873 GB, free: 4.945 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.0001345/0.3066, allocations: 125.8 kB / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3067, allocations: 11.91 kB / 0.9874 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.3067, allocations: 8.359 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3067, allocations: 0 / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3068, allocations: 8 kB / 0.9874 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3068, allocations: 0 / 0.9874 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.3075, allocations: 386.3 kB / 0.9878 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3075, allocations: 0 / 0.9878 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3075, allocations: 7.984 kB / 0.9878 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3076, allocations: 3.938 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3076, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3076, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3076, allocations: 7.938 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.3085, allocations: 0.7902 MB / 0.9886 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.3086, allocations: 81.05 kB / 0.9887 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3087, allocations: 4 kB / 0.9887 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3088, allocations: 4 kB / 0.9887 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.3089, allocations: 11.98 kB / 0.9887 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3089, allocations: 3.938 kB / 0.9887 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.948e-05/0.309, allocations: 95.27 kB / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.309, allocations: 0 / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006901/0.3097, allocations: 43.89 kB / 0.9888 GB, free: 3.223 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.0005122/0.3102, allocations: 160.9 kB / 0.989 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3106, allocations: 63.97 kB / 0.989 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3106, allocations: 0 / 0.989 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3108, allocations: 44.28 kB / 0.9891 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3112, allocations: 7.938 kB / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.3119, allocations: 313.2 kB / 0.9894 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3123, allocations: 0.6887 MB / 0.99 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.3123, allocations: 8.141 kB / 0.9901 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.3124, allocations: 15.44 kB / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.3124, allocations: 0 / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of Templates: time 0.00618/0.3186, allocations: 1.407 MB / 0.9914 GB, free: 480 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)