Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 190.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.83 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4898, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006609/0.4964, allocations: 5.758 MB / 0.9547 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.661, allocations: 153.4 MB / 1.104 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.6623, allocations: 23.88 kB / 1.105 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.6669, allocations: 1.624 MB / 1.106 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.6694, allocations: 0.6913 MB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.6718, allocations: 0.896 MB / 1.108 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.6753, allocations: 3.377 MB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.6767, allocations: 0.9328 MB / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.6784, allocations: 1.028 MB / 1.113 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.68, allocations: 0.9978 MB / 1.114 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004728/0.6805, allocations: 108 kB / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.6841, allocations: 2.028 MB / 1.116 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.6854, allocations: 1.333 MB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.6874, allocations: 1.321 MB / 1.119 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006589/0.694, allocations: 5.454 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.694, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.32e-07/0.694, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001111/0.6941, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008627/0.7027, allocations: 4.17 MB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7028, allocations: 12.03 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/0.703, allocations: 194.2 kB / 1.128 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.7041, allocations: 341.2 kB / 1.128 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0812/0.7854, allocations: 87.7 MB / 1.214 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.7855, allocations: 110.4 kB / 1.214 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.7859, allocations: 156 kB / 1.214 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.7888, allocations: 1.538 MB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.7889, allocations: 0 / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.789, allocations: 55.98 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.789, allocations: 32 kB / 1.216 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.7915, allocations: 1.609 MB / 1.217 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.8128, allocations: 23.69 MB / 1.241 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.8153, allocations: 1.442 MB / 1.242 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.8165, allocations: 0.8826 MB / 1.243 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/0.8166, allocations: 36.94 kB / 1.243 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.818, allocations: 0.9537 MB / 1.244 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.835e-06/0.818, allocations: 0 / 1.244 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004962/0.823, allocations: 2.751 MB / 1.247 GB, free: 424 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/0.8232, allocations: 334.5 kB / 1.247 GB, free: 40 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5241/1.347, allocations: 99.68 MB / 1.344 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003784/1.348, allocations: 57.7 kB / 1.344 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.349, allocations: 1.1 MB / 1.345 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/1.349, allocations: 339 kB / 1.346 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/1.35, allocations: 355.5 kB / 1.346 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/1.35, allocations: 308.9 kB / 1.346 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.351, allocations: 1.194 MB / 1.347 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.353, allocations: 1.417 MB / 1.349 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.355, allocations: 2.584 MB / 1.351 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.355, allocations: 0 / 1.351 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004323/1.36, allocations: 3.213 MB / 1.355 GB, free: 196 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.36, allocations: 156.1 kB / 1.355 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.36, allocations: 4 kB / 1.355 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.36, allocations: 10.91 kB / 1.355 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.361, allocations: 311.5 kB / 1.355 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/1.361, allocations: 8 kB / 1.355 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.362, allocations: 321.7 kB / 1.355 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.363, allocations: 74.38 kB / 1.355 GB, free: 195.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * 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.001263/1.364, allocations: 1.038 MB / 1.356 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/1.364, allocations: 236.9 kB / 1.357 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/1.368, allocations: 2.524 MB / 1.359 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.368, allocations: 8 kB / 1.359 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.368, allocations: 0 / 1.359 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.368, allocations: 7.047 kB / 1.359 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.37, allocations: 2.015 MB / 1.361 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.37, allocations: 0.875 kB / 1.361 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/1.37, allocations: 167.7 kB / 1.361 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/1.37, allocations: 4 kB / 1.361 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/1.37, allocations: 43.81 kB / 1.361 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/1.37, allocations: 4 kB / 1.361 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.37, allocations: 3.75 kB / 1.361 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.373, allocations: 2.323 MB / 1.364 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/1.374, allocations: 0.8019 MB / 1.364 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/1.374, allocations: 38.94 kB / 1.364 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.376, allocations: 183.9 kB / 1.365 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.376, allocations: 86.56 kB / 1.365 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/1.376, allocations: 55.91 kB / 1.365 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04893/1.425, allocations: 79.56 MB / 1.442 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.82e-07/1.425, allocations: 0 / 1.442 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002922/1.428, allocations: 1.054 MB / 1.443 GB, free: 105 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.005918/1.434, allocations: 3.735 MB / 1.447 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003666/1.437, allocations: 3.543 MB / 1.45 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.437, allocations: 0 / 1.45 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/1.439, allocations: 1.525 MB / 1.452 GB, free: 96.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.441, allocations: 372.5 kB / 1.452 GB, free: 96.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7186/2.16, allocations: 417.4 MB / 1.86 GB, free: 236.9 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/2.161, allocations: 1.777 MB / 1.862 GB, free: 235.1 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001737/2.162, allocations: 0.7651 MB / 1.862 GB, free: 234.4 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.164, allocations: 1.142 MB / 1.864 GB, free: 233.3 MB / 1.123 GB Notification: Performance of SimCode: time 6.71e-07/2.164, allocations: 0 / 1.864 GB, free: 233.3 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.444/3.608, allocations: 109.4 MB / 1.97 GB, free: 125 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/3.608, allocations: 273 kB / 1.971 GB, free: 124.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/6.821, allocations: 0 / 1.971 GB, free: 124.7 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)