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.0009795/0.0009795, allocations: 92 kB / 15.36 MB, free: 0.7383 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.007617/0.007617, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.258/2.258, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6073, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005274/0.6126, allocations: 5.314 MB / 0.9604 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1534/0.766, allocations: 151 MB / 1.108 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.7675, allocations: 23.88 kB / 1.108 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.7726, allocations: 1.628 MB / 1.109 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.775, allocations: 0.692 MB / 1.11 GB, free: 108 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.7774, allocations: 0.8892 MB / 1.111 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.7808, allocations: 3.384 MB / 1.114 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.7819, allocations: 0.9016 MB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.7831, allocations: 0.9104 MB / 1.116 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/0.7841, allocations: 0.8477 MB / 1.117 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.7842, allocations: 56 kB / 1.117 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.7873, allocations: 1.966 MB / 1.119 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009453/0.7882, allocations: 1.255 MB / 1.12 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.7893, allocations: 1.229 MB / 1.121 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.7936, allocations: 5.336 MB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7936, allocations: 0 / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7936, allocations: 4 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.7937, allocations: 0 / 1.127 GB, free: 15.25 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.005433/0.7991, allocations: 3.458 MB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7991, allocations: 12.03 kB / 1.13 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.7994, allocations: 186.2 kB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.8003, allocations: 361.1 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07644/0.8767, allocations: 87.7 MB / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8769, allocations: 110.4 kB / 1.216 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.8773, allocations: 148 kB / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.8802, allocations: 1.542 MB / 1.218 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.8803, allocations: 4 kB / 1.218 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.8804, allocations: 55.98 kB / 1.218 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.8804, allocations: 31.98 kB / 1.218 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.883, allocations: 1.613 MB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.9056, allocations: 23.77 MB / 1.243 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.9079, allocations: 1.454 MB / 1.244 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.9091, allocations: 0.8824 MB / 1.245 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.9092, allocations: 36.94 kB / 1.245 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.9106, allocations: 0.9615 MB / 1.246 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.317e-06/0.9106, allocations: 0 / 1.246 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.00455/0.9152, allocations: 2.762 MB / 1.249 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.9154, allocations: 330.5 kB / 1.249 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.492/1.407, allocations: 99.68 MB / 1.346 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000305/1.408, allocations: 61.7 kB / 1.346 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.409, allocations: 1.095 MB / 1.347 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.409, allocations: 335.1 kB / 1.348 GB, free: 203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.409, allocations: 172.9 kB / 1.348 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/1.41, allocations: 308.9 kB / 1.348 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.411, allocations: 1.199 MB / 1.349 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.412, allocations: 1.419 MB / 1.351 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/1.415, allocations: 2.593 MB / 1.353 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.415, allocations: 0 / 1.353 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00406/1.419, allocations: 3.224 MB / 1.356 GB, free: 194 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.419, allocations: 153.6 kB / 1.357 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.419, allocations: 0 / 1.357 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.419, allocations: 12 kB / 1.357 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.42, allocations: 313.7 kB / 1.357 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.42, allocations: 8 kB / 1.357 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.422, allocations: 340.8 kB / 1.357 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.422, allocations: 74.72 kB / 1.357 GB, free: 193.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.00115/1.423, allocations: 1.034 MB / 1.358 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.423, allocations: 240.4 kB / 1.359 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/1.426, allocations: 2.523 MB / 1.361 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.426, allocations: 12 kB / 1.361 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.426, allocations: 3.875 kB / 1.361 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.426, allocations: 3.984 kB / 1.361 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/1.428, allocations: 2.014 MB / 1.363 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.428, allocations: 0.7031 kB / 1.363 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.429, allocations: 167.7 kB / 1.363 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.429, allocations: 4 kB / 1.363 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/1.429, allocations: 40.84 kB / 1.363 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.429, allocations: 4 kB / 1.363 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.429, allocations: 0.625 kB / 1.363 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.432, allocations: 2.343 MB / 1.366 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/1.432, allocations: 0.823 MB / 1.366 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/1.433, allocations: 27.94 kB / 1.366 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.434, allocations: 206.3 kB / 1.367 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.434, allocations: 84.17 kB / 1.367 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/1.434, allocations: 53.45 kB / 1.367 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04899/1.483, allocations: 79.56 MB / 1.444 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.483, allocations: 0 / 1.444 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002435/1.486, allocations: 1.061 MB / 1.445 GB, free: 102.9 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.005011/1.491, allocations: 3.727 MB / 1.449 GB, free: 99.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003131/1.494, allocations: 3.56 MB / 1.453 GB, free: 95.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.494, allocations: 0 / 1.453 GB, free: 95.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.495, allocations: 1.534 MB / 1.454 GB, free: 94.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.497, allocations: 369 kB / 1.454 GB, free: 94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7025/2.199, allocations: 417.5 MB / 1.862 GB, free: 231 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/2.201, allocations: 1.78 MB / 1.864 GB, free: 229.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001654/2.202, allocations: 0.7771 MB / 1.865 GB, free: 228.6 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/2.204, allocations: 1.142 MB / 1.866 GB, free: 227.4 MB / 1.123 GB Notification: Performance of SimCode: time 1.072e-06/2.204, allocations: 0 / 1.866 GB, free: 227.4 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9894/3.193, allocations: 92.59 MB / 1.956 GB, free: 135.8 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/3.193, allocations: 274.9 kB / 1.956 GB, free: 135.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/14.51, allocations: 3.234 kB / 1.956 GB, free: 135.5 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)