Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_11_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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.518/2.518, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.7 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3189, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009911/0.3289, allocations: 6.998 MB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1931/0.522, allocations: 155.6 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.5232, allocations: 23.88 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.5268, allocations: 1.817 MB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.5287, allocations: 0.8745 MB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5307, allocations: 1.03 MB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.5338, allocations: 3.649 MB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5349, allocations: 0.9251 MB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.5361, allocations: 1.173 MB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.5373, allocations: 1.07 MB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.5376, allocations: 200 kB / 1.233 GB, free: 152 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.5407, allocations: 2.216 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.5425, allocations: 1.423 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.5445, allocations: 1.508 MB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.5505, allocations: 5.61 MB / 1.244 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5505, allocations: 0 / 1.244 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5505, allocations: 4 kB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.5506, allocations: 0 / 1.244 GB, free: 5.359 MB / 0.9981 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.006289/0.5569, allocations: 4.205 MB / 1.248 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5569, allocations: 12.03 kB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/0.5571, allocations: 190.2 kB / 1.248 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.5581, allocations: 345.1 kB / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.569/1.127, allocations: 87.69 MB / 1.334 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.127, allocations: 118.2 kB / 1.334 GB, free: 128 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.127, allocations: 148 kB / 1.334 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.129, allocations: 1.538 MB / 1.336 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.129, allocations: 0 / 1.336 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/1.129, allocations: 56 kB / 1.336 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/1.129, allocations: 28 kB / 1.336 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.131, allocations: 1.621 MB / 1.338 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/1.148, allocations: 24.07 MB / 1.361 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.149, allocations: 1.446 MB / 1.362 GB, free: 98.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/1.15, allocations: 0.8879 MB / 1.363 GB, free: 98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/1.15, allocations: 37.09 kB / 1.363 GB, free: 97.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009317/1.151, allocations: 0.9476 MB / 1.364 GB, free: 97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/1.151, allocations: 1.031 kB / 1.364 GB, free: 97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.003259/1.154, allocations: 2.753 MB / 1.367 GB, free: 94.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.154, allocations: 330.5 kB / 1.367 GB, free: 93.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07554/1.23, allocations: 99.68 MB / 1.465 GB, free: 10.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002707/1.23, allocations: 57.7 kB / 1.465 GB, free: 10.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/1.231, allocations: 1.097 MB / 1.466 GB, free: 8.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/1.231, allocations: 335.2 kB / 1.466 GB, free: 8.648 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000597/1.232, allocations: 359.5 kB / 1.466 GB, free: 8.289 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.232, allocations: 309.1 kB / 1.467 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/1.235, allocations: 1.191 MB / 1.468 GB, free: 6.793 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.238, allocations: 1.425 MB / 1.469 GB, free: 5.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/1.242, allocations: 2.586 MB / 1.472 GB, free: 2.672 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.242, allocations: 0 / 1.472 GB, free: 2.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004531/1.246, allocations: 3.207 MB / 1.475 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.246, allocations: 153.6 kB / 1.475 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.246, allocations: 4 kB / 1.475 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.246, allocations: 8 kB / 1.475 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.247, allocations: 312.4 kB / 1.475 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.247, allocations: 8 kB / 1.475 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.249, allocations: 335.3 kB / 1.476 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.249, allocations: 71.97 kB / 1.476 GB, free: 14.57 MB / 1.029 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.001147/1.25, allocations: 1.033 MB / 1.477 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/1.25, allocations: 238.2 kB / 1.477 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/1.254, allocations: 2.53 MB / 1.48 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.254, allocations: 8 kB / 1.48 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.254, allocations: 0 / 1.48 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.254, allocations: 7.922 kB / 1.48 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.256, allocations: 2.017 MB / 1.481 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.256, allocations: 3.188 kB / 1.481 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/1.257, allocations: 163.8 kB / 1.482 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.257, allocations: 8 kB / 1.482 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/1.257, allocations: 35.97 kB / 1.482 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.257, allocations: 4 kB / 1.482 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.257, allocations: 0 / 1.482 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/1.26, allocations: 2.335 MB / 1.484 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.261, allocations: 0.798 MB / 1.485 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.262, allocations: 39.75 kB / 1.485 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.263, allocations: 179.9 kB / 1.485 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.263, allocations: 80.89 kB / 1.485 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/1.263, allocations: 59.89 kB / 1.485 GB, free: 4.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.07466/1.338, allocations: 79.56 MB / 1.563 GB, free: 5.34 MB / 1.107 GB Notification: Performance of sort global known variables: time 7.91e-07/1.338, allocations: 0 / 1.563 GB, free: 5.34 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003024/1.341, allocations: 1.077 MB / 1.564 GB, free: 4.262 MB / 1.107 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.006014/1.347, allocations: 3.738 MB / 1.568 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004846/1.352, allocations: 3.974 MB / 1.571 GB, free: 12.72 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.352, allocations: 192 / 1.571 GB, free: 12.72 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.353, allocations: 1.54 MB / 1.573 GB, free: 11.17 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.355, allocations: 417.9 kB / 1.573 GB, free: 10.78 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7173/2.072, allocations: 416.8 MB / 1.98 GB, free: 219.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009941/2.073, allocations: 1.783 MB / 1.982 GB, free: 217.4 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001717/2.075, allocations: 0.7682 MB / 1.983 GB, free: 216.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/2.076, allocations: 1.147 MB / 1.984 GB, free: 215.6 MB / 1.264 GB Notification: Performance of SimCode: time 6.91e-07/2.076, allocations: 0 / 1.984 GB, free: 215.6 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.617/4.693, allocations: 111.5 MB / 2.093 GB, free: 105.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/23.1, allocations: 12.52 kB / 2.093 GB, free: 105.4 MB / 1.264 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)