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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007896/0.007896, allocations: 102 kB / 15.73 MB, free: 6.035 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.001887/0.001887, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 66.98 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2248, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006769/0.2316, allocations: 5.757 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.3911, allocations: 155.5 MB / 1.245 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.3925, allocations: 27.88 kB / 1.245 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004959/0.3975, allocations: 1.779 MB / 1.247 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.4004, allocations: 0.775 MB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.4031, allocations: 1.02 MB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.4068, allocations: 3.462 MB / 1.252 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4082, allocations: 0.9633 MB / 1.253 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.4098, allocations: 1.149 MB / 1.254 GB, free: 6.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.4114, allocations: 1.049 MB / 1.255 GB, free: 5.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.4119, allocations: 200 kB / 1.255 GB, free: 5.633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.4153, allocations: 2.235 MB / 1.257 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.4165, allocations: 1.423 MB / 1.259 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.4179, allocations: 1.469 MB / 1.26 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.614/1.032, allocations: 5.614 MB / 1.266 GB, free: 9.363 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.032, allocations: 0.5469 kB / 1.266 GB, free: 9.363 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/1.032, allocations: 0 / 1.266 GB, free: 9.363 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.007e-05/1.032, allocations: 0 / 1.266 GB, free: 9.363 MB / 1.014 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.01095/1.043, allocations: 4.175 MB / 1.27 GB, free: 7.691 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.043, allocations: 10.69 kB / 1.27 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/1.043, allocations: 189.2 kB / 1.27 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/1.045, allocations: 350 kB / 1.27 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1208/1.166, allocations: 91.64 MB / 1.36 GB, free: 340 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.166, allocations: 116.2 kB / 1.36 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00057/1.167, allocations: 148.9 kB / 1.36 GB, free: 76 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/1.169, allocations: 1.54 MB / 1.361 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/1.169, allocations: 0 / 1.361 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.17, allocations: 56.78 kB / 1.362 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/1.17, allocations: 28 kB / 1.362 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.172, allocations: 1.611 MB / 1.363 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/1.197, allocations: 23.63 MB / 1.386 GB, free: 5.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.2, allocations: 1.447 MB / 1.388 GB, free: 3.781 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.201, allocations: 0.891 MB / 1.388 GB, free: 2.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.084e-05/1.201, allocations: 38.59 kB / 1.389 GB, free: 2.855 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.202, allocations: 0.9455 MB / 1.389 GB, free: 1.902 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/1.202, allocations: 0.8438 kB / 1.389 GB, free: 1.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=104): time 0.005894/1.208, allocations: 2.754 MB / 1.392 GB, free: 15.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/1.209, allocations: 326.5 kB / 1.392 GB, free: 14.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1079/1.316, allocations: 99.69 MB / 1.49 GB, free: 11.05 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005128/1.317, allocations: 57.7 kB / 1.49 GB, free: 10.99 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.318, allocations: 1.097 MB / 1.491 GB, free: 9.891 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/1.319, allocations: 335 kB / 1.491 GB, free: 9.57 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000567/1.319, allocations: 364.1 kB / 1.492 GB, free: 9.207 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.32, allocations: 301.9 kB / 1.492 GB, free: 8.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.321, allocations: 1.192 MB / 1.493 GB, free: 7.719 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.323, allocations: 1.42 MB / 1.494 GB, free: 6.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.327, allocations: 2.581 MB / 1.497 GB, free: 3.633 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.327, allocations: 1.031 kB / 1.497 GB, free: 3.633 MB / 1.17 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006612/1.333, allocations: 3.214 MB / 1.5 GB, free: 432 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/1.334, allocations: 149.6 kB / 1.5 GB, free: 276 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.334, allocations: 4 kB / 1.5 GB, free: 272 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/1.334, allocations: 13.03 kB / 1.5 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.335, allocations: 306.6 kB / 1.501 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.335, allocations: 17.5 kB / 1.501 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/1.338, allocations: 328.2 kB / 1.501 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.338, allocations: 72.56 kB / 1.501 GB, free: 15.57 MB / 1.186 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.002356/1.34, allocations: 1.036 MB / 1.502 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.342, allocations: 236.9 kB / 1.502 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.347, allocations: 2.52 MB / 1.505 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.347, allocations: 12.84 kB / 1.505 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.347, allocations: 0 / 1.505 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.347, allocations: 4.953 kB / 1.505 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/1.352, allocations: 2.018 MB / 1.507 GB, free: 9.727 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.352, allocations: 0 / 1.507 GB, free: 9.727 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/1.353, allocations: 163 kB / 1.507 GB, free: 9.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.353, allocations: 4 kB / 1.507 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.353, allocations: 34.28 kB / 1.507 GB, free: 9.543 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/1.353, allocations: 9.75 kB / 1.507 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.353, allocations: 1.312 kB / 1.507 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/1.359, allocations: 2.339 MB / 1.509 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.361, allocations: 0.8019 MB / 1.51 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007255/1.362, allocations: 23.47 kB / 1.51 GB, free: 6.332 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.364, allocations: 190.2 kB / 1.51 GB, free: 6.148 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/1.364, allocations: 82.69 kB / 1.51 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.364, allocations: 52.97 kB / 1.51 GB, free: 6.02 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.07841/1.442, allocations: 79.56 MB / 1.588 GB, free: 6.449 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.52e-07/1.442, allocations: 0.6562 kB / 1.588 GB, free: 6.449 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006982/1.449, allocations: 1.063 MB / 1.589 GB, free: 5.391 MB / 1.264 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.01153/1.461, allocations: 3.729 MB / 1.593 GB, free: 1.918 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006081/1.467, allocations: 3.546 MB / 1.596 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.467, allocations: 1.031 kB / 1.596 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.469, allocations: 1.528 MB / 1.598 GB, free: 12.87 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.472, allocations: 395.8 kB / 1.598 GB, free: 12.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8708/2.343, allocations: 412.7 MB / 2.001 GB, free: 451.1 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/2.344, allocations: 1.783 MB / 2.003 GB, free: 449.3 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.003083/2.347, allocations: 0.785 MB / 2.004 GB, free: 448.6 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/2.35, allocations: 1.146 MB / 2.005 GB, free: 447.5 MB / 1.467 GB Notification: Performance of SimCode: time 9.52e-07/2.35, allocations: 0 / 2.005 GB, free: 447.5 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.161/4.511, allocations: 111.5 MB / 2.113 GB, free: 337.1 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/17.42, allocations: 14.33 kB / 2.113 GB, free: 337 MB / 1.467 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)