Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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 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.001053/0.001053, allocations: 187.6 kB / 0.4901 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.876/1.876, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00109/0.00109, allocations: 92.28 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 18.81 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3881, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.671/5.059, allocations: 1.758 GB / 2.988 GB, free: 225.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.059, allocations: 101.2 kB / 2.988 GB, free: 225.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2456/5.305, allocations: 107.2 MB / 3.092 GB, free: 118.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.767e-06/5.305, allocations: 4 kB / 3.093 GB, free: 118.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003895/5.305, allocations: 51.88 kB / 3.093 GB, free: 118.2 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.0567/5.362, allocations: 23.4 MB / 3.115 GB, free: 94.68 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/5.362, allocations: 8.031 kB / 3.115 GB, free: 94.68 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005892/5.363, allocations: 177 kB / 3.116 GB, free: 94.49 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/5.37, allocations: 356.3 kB / 3.116 GB, free: 94.14 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7409/6.111, allocations: 94.46 MB / 3.208 GB, free: 373.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/6.111, allocations: 101.7 kB / 3.208 GB, free: 373.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005947/6.112, allocations: 139.3 kB / 3.208 GB, free: 373.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/6.115, allocations: 1.382 MB / 3.21 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/6.115, allocations: 0 / 3.21 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/6.115, allocations: 47.78 kB / 3.21 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/6.115, allocations: 25.84 kB / 3.21 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/6.118, allocations: 1.5 MB / 3.211 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1646/6.282, allocations: 79.54 MB / 3.289 GB, free: 364.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/6.284, allocations: 1.13 MB / 3.29 GB, free: 363.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.08e-05/6.285, allocations: 31.39 kB / 3.29 GB, free: 363.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009511/6.285, allocations: 0.7167 MB / 3.291 GB, free: 362.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=92): time 3.817e-06/6.285, allocations: 0 / 3.291 GB, free: 362.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=92): time 0.009311/6.295, allocations: 2.221 MB / 3.293 GB, free: 360.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/6.295, allocations: 377.4 kB / 3.293 GB, free: 360.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1883/6.483, allocations: 103.9 MB / 3.395 GB, free: 265 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005521/6.484, allocations: 53.7 kB / 3.395 GB, free: 265 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/6.485, allocations: 1.025 MB / 3.396 GB, free: 264.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/6.485, allocations: 305.6 kB / 3.396 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/6.485, allocations: 28 kB / 3.396 GB, free: 263.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/6.486, allocations: 371.2 kB / 3.397 GB, free: 263.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/6.487, allocations: 0.9908 MB / 3.398 GB, free: 262.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/6.488, allocations: 1.218 MB / 3.399 GB, free: 261.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/6.49, allocations: 1.255 MB / 3.4 GB, free: 260.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/6.49, allocations: 0 / 3.4 GB, free: 260.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01091/6.501, allocations: 2.782 MB / 3.403 GB, free: 257.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/6.501, allocations: 153.8 kB / 3.403 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/6.501, allocations: 2.031 kB / 3.403 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/6.501, allocations: 12 kB / 3.403 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/6.502, allocations: 293 kB / 3.403 GB, free: 257.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/6.502, allocations: 10.16 kB / 3.403 GB, free: 257.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00714/6.509, allocations: 288.4 kB / 3.403 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/6.51, allocations: 103.6 kB / 3.403 GB, free: 257.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (165): * Single equations (assignments): 164 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001875/6.512, allocations: 1.013 MB / 3.404 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006644/6.518, allocations: 235 kB / 3.405 GB, free: 256 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/6.522, allocations: 2.096 MB / 3.407 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/6.522, allocations: 8 kB / 3.407 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/6.522, allocations: 0 / 3.407 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/6.522, allocations: 3.422 kB / 3.407 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07586/6.598, allocations: 38.07 MB / 3.444 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/6.598, allocations: 0.5 kB / 3.444 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/6.599, allocations: 157.7 kB / 3.444 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/6.599, allocations: 6.969 kB / 3.444 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-05/6.599, allocations: 42.86 kB / 3.444 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/6.599, allocations: 4 kB / 3.444 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/6.599, allocations: 0 / 3.444 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/6.608, allocations: 1.958 MB / 3.446 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0626/6.671, allocations: 20.55 MB / 3.466 GB, free: 194.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008037/6.679, allocations: 28 kB / 3.466 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007649/6.687, allocations: 190 kB / 3.466 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/6.687, allocations: 71.53 kB / 3.466 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/6.687, allocations: 75.23 kB / 3.466 GB, free: 193.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.08207/6.769, allocations: 76.76 MB / 3.541 GB, free: 117 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.11e-07/6.77, allocations: 0 / 3.541 GB, free: 117 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01314/6.783, allocations: 6.085 MB / 3.547 GB, free: 111.1 MB / 1.167 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01291/6.796, allocations: 3.661 MB / 3.551 GB, free: 108 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003326/6.799, allocations: 3.139 MB / 3.554 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/6.799, allocations: 0 / 3.554 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/6.8, allocations: 1.345 MB / 3.555 GB, free: 103.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006863/6.807, allocations: 337.5 kB / 3.556 GB, free: 103.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/6.826, allocations: 9.713 MB / 3.565 GB, free: 93.37 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/6.827, allocations: 1.785 MB / 3.567 GB, free: 91.57 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01546/6.843, allocations: 11.11 MB / 3.578 GB, free: 80.58 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01903/6.862, allocations: 4.139 MB / 3.582 GB, free: 76.46 MB / 1.167 GB Notification: Performance of SimCode: time 8.827e-06/6.862, allocations: 0 / 3.582 GB, free: 76.46 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.876/8.738, allocations: 0.5145 GB / 4.096 GB, free: 365.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/8.738, allocations: 251.5 kB / 4.097 GB, free: 365 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/15.47, allocations: 1.281 kB / 4.097 GB, free: 365 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)