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.001262/0.001262, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001217/0.001217, allocations: 194.1 kB / 16.26 MB, free: 6.152 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.566 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.551/2.551, allocations: 469.8 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 66.66 kB / 0.9082 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2836, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008177/0.2918, allocations: 6.964 MB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.4481, allocations: 153.4 MB / 1.22 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.4491, allocations: 27.81 kB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.4527, allocations: 1.662 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.4546, allocations: 0.7824 MB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.4567, allocations: 0.9243 MB / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.4602, allocations: 3.665 MB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.4614, allocations: 0.9212 MB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.4628, allocations: 1.227 MB / 1.229 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.464, allocations: 1.094 MB / 1.23 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.4643, allocations: 200 kB / 1.23 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.4675, allocations: 2.216 MB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.4687, allocations: 1.423 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.4701, allocations: 1.504 MB / 1.235 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.4756, allocations: 5.626 MB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4756, allocations: 4 kB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4756, allocations: 0 / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.4756, allocations: 0 / 1.241 GB, free: 8.23 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.00658/0.4822, allocations: 4.193 MB / 1.245 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4823, allocations: 11.97 kB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.4825, allocations: 194.2 kB / 1.245 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4836, allocations: 349.1 kB / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5268/1.01, allocations: 87.69 MB / 1.331 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/1.011, allocations: 123.1 kB / 1.331 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.011, allocations: 148 kB / 1.331 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/1.013, allocations: 1.538 MB / 1.333 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.013, allocations: 0 / 1.333 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/1.013, allocations: 56 kB / 1.333 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.013, allocations: 31.94 kB / 1.333 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.014, allocations: 1.609 MB / 1.335 GB, free: 127 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/1.028, allocations: 24.08 MB / 1.358 GB, free: 102.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.029, allocations: 1.437 MB / 1.36 GB, free: 101.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/1.03, allocations: 0.8869 MB / 1.36 GB, free: 100.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/1.03, allocations: 33.19 kB / 1.36 GB, free: 100.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/1.031, allocations: 0.9602 MB / 1.361 GB, free: 99.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.515e-06/1.031, allocations: 4 kB / 1.361 GB, free: 99.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.00332/1.034, allocations: 2.741 MB / 1.364 GB, free: 96.67 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/1.035, allocations: 330.5 kB / 1.364 GB, free: 96.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07425/1.109, allocations: 99.69 MB / 1.462 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/1.109, allocations: 61.7 kB / 1.462 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.111, allocations: 1.097 MB / 1.463 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/1.111, allocations: 335.1 kB / 1.463 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/1.112, allocations: 360.7 kB / 1.464 GB, free: 10.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.112, allocations: 309 kB / 1.464 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.113, allocations: 1.195 MB / 1.465 GB, free: 9.219 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/1.115, allocations: 1.423 MB / 1.466 GB, free: 7.738 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/1.119, allocations: 2.582 MB / 1.469 GB, free: 5.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.119, allocations: 4 kB / 1.469 GB, free: 5.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005287/1.124, allocations: 3.203 MB / 1.472 GB, free: 1.875 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/1.124, allocations: 157.6 kB / 1.472 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.124, allocations: 4 kB / 1.472 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/1.124, allocations: 10.28 kB / 1.472 GB, free: 1.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.125, allocations: 311.6 kB / 1.472 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/1.125, allocations: 18.98 kB / 1.472 GB, free: 1.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.127, allocations: 333.7 kB / 1.473 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.127, allocations: 67.42 kB / 1.473 GB, free: 0.9922 MB / 1.014 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.001433/1.128, allocations: 1.04 MB / 1.474 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/1.129, allocations: 240.8 kB / 1.474 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/1.133, allocations: 2.514 MB / 1.477 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.133, allocations: 11.98 kB / 1.477 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.133, allocations: 0 / 1.477 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.133, allocations: 11.92 kB / 1.477 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/1.135, allocations: 2.016 MB / 1.479 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.135, allocations: 0 / 1.479 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/1.136, allocations: 159.8 kB / 1.479 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/1.136, allocations: 4 kB / 1.479 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/1.136, allocations: 35.97 kB / 1.479 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.136, allocations: 7.938 kB / 1.479 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.136, allocations: 0 / 1.479 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.139, allocations: 2.335 MB / 1.481 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.14, allocations: 0.798 MB / 1.482 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/1.141, allocations: 35.84 kB / 1.482 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.142, allocations: 192.7 kB / 1.482 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.142, allocations: 82.16 kB / 1.482 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.142, allocations: 59.89 kB / 1.482 GB, free: 7.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.07207/1.214, allocations: 79.56 MB / 1.56 GB, free: 7.762 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.91e-07/1.214, allocations: 0 / 1.56 GB, free: 7.762 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003122/1.218, allocations: 1.074 MB / 1.561 GB, free: 6.762 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.006634/1.224, allocations: 3.746 MB / 1.565 GB, free: 3.27 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005353/1.23, allocations: 3.98 MB / 1.568 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.23, allocations: 0 / 1.568 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.231, allocations: 1.528 MB / 1.57 GB, free: 13.74 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.233, allocations: 419.2 kB / 1.57 GB, free: 13.35 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7742/2.007, allocations: 417.4 MB / 1.978 GB, free: 220 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009416/2.008, allocations: 1.782 MB / 1.98 GB, free: 218.2 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001645/2.01, allocations: 0.7702 MB / 1.98 GB, free: 217.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/2.011, allocations: 1.143 MB / 1.982 GB, free: 216.4 MB / 1.264 GB Notification: Performance of SimCode: time 9.62e-07/2.011, allocations: 0 / 1.982 GB, free: 216.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9613/2.972, allocations: 111.2 MB / 2.09 GB, free: 106.5 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/2.973, allocations: 275.5 kB / 2.09 GB, free: 106.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.003/6.976, allocations: 0 / 2.09 GB, free: 106.1 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)