Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.74/2.74, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 179.9 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 223.1 MB / 0.7992 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 106.9 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 13.31 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/5.051, allocations: 1.763 GB / 2.993 GB, free: 199.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/5.052, allocations: 103.9 kB / 2.993 GB, free: 199.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4534/5.505, allocations: 198.2 MB / 3.186 GB, free: 0.7812 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.986e-06/5.505, allocations: 0 / 3.186 GB, free: 0.7812 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008414/5.506, allocations: 87.94 kB / 3.186 GB, free: 0.6953 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.9358/6.442, allocations: 69.6 MB / 3.254 GB, free: 321.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/6.442, allocations: 11.75 kB / 3.254 GB, free: 321.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02277/6.465, allocations: 0.6002 MB / 3.255 GB, free: 321.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3549/6.82, allocations: 292.8 MB / 3.541 GB, free: 71.73 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/6.82, allocations: 126.6 kB / 3.541 GB, free: 71.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/6.82, allocations: 172.9 kB / 3.541 GB, free: 71.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/6.823, allocations: 1.796 MB / 3.543 GB, free: 69.88 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/6.823, allocations: 0 / 3.543 GB, free: 69.88 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/6.823, allocations: 60 kB / 3.543 GB, free: 69.82 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/6.823, allocations: 32 kB / 3.543 GB, free: 69.79 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/6.826, allocations: 1.872 MB / 3.545 GB, free: 68.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.214/8.04, allocations: 259 MB / 3.798 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/8.043, allocations: 1.462 MB / 3.799 GB, free: 244 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/8.043, allocations: 36.06 kB / 3.799 GB, free: 244 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/8.045, allocations: 0.9305 MB / 3.8 GB, free: 243.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 2.745e-06/8.045, allocations: 0 / 3.8 GB, free: 243.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=105): time 0.02663/8.071, allocations: 3.136 MB / 3.803 GB, free: 240.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/8.071, allocations: 396.8 kB / 3.803 GB, free: 240.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.477/9.548, allocations: 322.8 MB / 4.119 GB, free: 309.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006748/9.549, allocations: 62.14 kB / 4.119 GB, free: 309.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003175/9.552, allocations: 2.169 MB / 4.121 GB, free: 309.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/9.553, allocations: 350.9 kB / 4.121 GB, free: 309.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/9.553, allocations: 33.38 kB / 4.121 GB, free: 309.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001231/9.553, allocations: 391.4 kB / 4.122 GB, free: 308.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/9.555, allocations: 1.304 MB / 4.123 GB, free: 308.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/9.557, allocations: 1.626 MB / 4.124 GB, free: 308.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/9.559, allocations: 1.622 MB / 4.126 GB, free: 308.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/9.559, allocations: 2.719 kB / 4.126 GB, free: 308.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02642/9.585, allocations: 3.847 MB / 4.13 GB, free: 308.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/9.585, allocations: 166 kB / 4.13 GB, free: 308.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/9.585, allocations: 5.688 kB / 4.13 GB, free: 308.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/9.586, allocations: 95.58 kB / 4.13 GB, free: 308.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/9.588, allocations: 373.3 kB / 4.13 GB, free: 308.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/9.59, allocations: 1.551 MB / 4.132 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.021/9.611, allocations: 0.5583 MB / 4.132 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008032/9.612, allocations: 116.7 kB / 4.133 GB, free: 306.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004368/9.616, allocations: 2.138 MB / 4.135 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02038/9.636, allocations: 467.3 kB / 4.135 GB, free: 306.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006086/9.642, allocations: 2.897 MB / 4.138 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/9.642, allocations: 17.44 kB / 4.138 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/9.642, allocations: 0 / 4.138 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/9.642, allocations: 10.58 kB / 4.138 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1794/9.822, allocations: 127 MB / 4.262 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/9.822, allocations: 0 / 4.262 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/9.823, allocations: 182.7 kB / 4.262 GB, free: 235.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/9.823, allocations: 86.77 kB / 4.262 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/9.824, allocations: 41.53 kB / 4.262 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/9.825, allocations: 1.563 MB / 4.264 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/9.825, allocations: 0 / 4.264 GB, free: 234.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/9.85, allocations: 2.628 MB / 4.266 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1119/9.962, allocations: 64 MB / 4.329 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02564/9.988, allocations: 44 kB / 4.329 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02126/10.01, allocations: 435.3 kB / 4.329 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005552/10.01, allocations: 79.23 kB / 4.329 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/10.01, allocations: 85.25 kB / 4.33 GB, free: 166.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9033/10.91, allocations: 236.5 MB / 4.561 GB, free: 320.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.11e-07/10.91, allocations: 1.938 kB / 4.561 GB, free: 320.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03623/10.95, allocations: 16.37 MB / 4.577 GB, free: 320.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005263/10.95, allocations: 1.779 MB / 4.578 GB, free: 320.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006925/10.96, allocations: 3.894 MB / 4.582 GB, free: 319.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/10.96, allocations: 3.75 kB / 4.582 GB, free: 319.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/10.96, allocations: 1.708 MB / 4.584 GB, free: 318.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01938/10.98, allocations: 0.5371 MB / 4.584 GB, free: 318.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/11, allocations: 10.91 MB / 4.595 GB, free: 314.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/11.01, allocations: 3.046 MB / 4.598 GB, free: 313.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04503/11.05, allocations: 32.74 MB / 4.63 GB, free: 299.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05453/11.11, allocations: 9.838 MB / 4.639 GB, free: 293.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.432e-06/11.11, allocations: 0 / 4.639 GB, free: 293.6 MB / 1.182 GB Notification: Performance of Templates: time 4.401/15.51, allocations: 1.495 GB / 6.134 GB, free: 58.75 MB / 1.323 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)