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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001041/0.001041, allocations: 183.5 kB / 0.4901 GB, free: 2.25 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.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001324/0.001324, allocations: 100.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003787, allocations: 10.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.378, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.798, allocations: 1.763 GB / 2.993 GB, free: 220.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/4.799, allocations: 104.8 kB / 2.993 GB, free: 220.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4492/5.248, allocations: 198.2 MB / 3.186 GB, free: 21.36 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.945e-06/5.248, allocations: 4 kB / 3.186 GB, free: 21.36 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008819/5.249, allocations: 83.94 kB / 3.186 GB, free: 21.27 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 1.006/6.255, allocations: 69.61 MB / 3.254 GB, free: 322.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/6.255, allocations: 12.97 kB / 3.254 GB, free: 322.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/6.256, allocations: 203.6 kB / 3.255 GB, free: 322.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/6.278, allocations: 0.6083 MB / 3.255 GB, free: 322.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3501/6.629, allocations: 292.8 MB / 3.541 GB, free: 86.99 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/6.629, allocations: 130.6 kB / 3.541 GB, free: 86.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/6.629, allocations: 172 kB / 3.541 GB, free: 86.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/6.632, allocations: 1.796 MB / 3.543 GB, free: 85.14 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/6.632, allocations: 0 / 3.543 GB, free: 85.14 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/6.632, allocations: 62.91 kB / 3.543 GB, free: 85.09 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/6.632, allocations: 32.5 kB / 3.543 GB, free: 85.05 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/6.635, allocations: 1.867 MB / 3.545 GB, free: 83.57 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.086/7.721, allocations: 259 MB / 3.798 GB, free: 259.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/7.724, allocations: 1.457 MB / 3.799 GB, free: 258 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/7.724, allocations: 41.12 kB / 3.799 GB, free: 258 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/7.725, allocations: 0.9335 MB / 3.8 GB, free: 257.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 3.286e-06/7.725, allocations: 0 / 3.8 GB, free: 257.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=105): time 0.02535/7.751, allocations: 3.147 MB / 3.803 GB, free: 254.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/7.751, allocations: 389.6 kB / 3.804 GB, free: 254.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.256/9.007, allocations: 322.7 MB / 4.119 GB, free: 310.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000738/9.008, allocations: 62.27 kB / 4.119 GB, free: 310 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003382/9.011, allocations: 2.171 MB / 4.121 GB, free: 309.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005566/9.012, allocations: 347.2 kB / 4.121 GB, free: 309.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/9.012, allocations: 36.5 kB / 4.121 GB, free: 309.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001451/9.012, allocations: 385.4 kB / 4.122 GB, free: 309.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/9.014, allocations: 1.303 MB / 4.123 GB, free: 309.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/9.016, allocations: 1.628 MB / 4.125 GB, free: 309.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/9.018, allocations: 1.626 MB / 4.126 GB, free: 309.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/9.018, allocations: 1.969 kB / 4.126 GB, free: 309.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.0276/9.046, allocations: 3.845 MB / 4.13 GB, free: 308.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/9.046, allocations: 165.1 kB / 4.13 GB, free: 308.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/9.046, allocations: 7.719 kB / 4.13 GB, free: 308.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/9.047, allocations: 93.59 kB / 4.13 GB, free: 308.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/9.049, allocations: 375.6 kB / 4.131 GB, free: 308.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/9.051, allocations: 1.554 MB / 4.132 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/9.072, allocations: 0.5532 MB / 4.133 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000797/9.073, allocations: 120.2 kB / 4.133 GB, free: 307.3 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.004637/9.077, allocations: 2.14 MB / 4.135 GB, free: 307.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02107/9.098, allocations: 465.5 kB / 4.135 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/9.105, allocations: 2.907 MB / 4.138 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/9.105, allocations: 9.594 kB / 4.138 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/9.105, allocations: 1.562 kB / 4.138 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/9.105, allocations: 6.188 kB / 4.138 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2005/9.305, allocations: 127 MB / 4.262 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/9.305, allocations: 3.906 kB / 4.262 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/9.306, allocations: 182.1 kB / 4.262 GB, free: 248.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/9.307, allocations: 85.72 kB / 4.262 GB, free: 248.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/9.307, allocations: 39.88 kB / 4.262 GB, free: 248.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/9.308, allocations: 1.571 MB / 4.264 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/9.308, allocations: 0 / 4.264 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/9.333, allocations: 2.623 MB / 4.267 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1409/9.474, allocations: 64 MB / 4.329 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02498/9.499, allocations: 44 kB / 4.329 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02051/9.52, allocations: 430.7 kB / 4.33 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/9.52, allocations: 82.45 kB / 4.33 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/9.521, allocations: 82.66 kB / 4.33 GB, free: 180.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9406/10.46, allocations: 236.5 MB / 4.561 GB, free: 322 MB / 1.182 GB Notification: Performance of sort global known variables: time 8.11e-07/10.46, allocations: 0 / 4.561 GB, free: 322 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03488/10.5, allocations: 16.38 MB / 4.577 GB, free: 322 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.0283/10.52, allocations: 4.877 MB / 4.581 GB, free: 321.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004932/10.53, allocations: 3.886 MB / 4.585 GB, free: 321 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/10.53, allocations: 3.031 kB / 4.585 GB, free: 321 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/10.53, allocations: 1.701 MB / 4.587 GB, free: 320.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01805/10.55, allocations: 0.544 MB / 4.587 GB, free: 320.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04086/10.59, allocations: 17.75 MB / 4.605 GB, free: 311.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/10.59, allocations: 3.052 MB / 4.608 GB, free: 310.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04067/10.63, allocations: 32.74 MB / 4.64 GB, free: 300.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05949/10.69, allocations: 11.47 MB / 4.651 GB, free: 293.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.473e-06/10.69, allocations: 0 / 4.651 GB, free: 293.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.537/15.23, allocations: 1.541 GB / 6.192 GB, free: 33.31 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/15.23, allocations: 283.3 kB / 6.192 GB, free: 32.94 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/29.85, allocations: 0 / 6.192 GB, free: 32.94 MB / 1.323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)