Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001015/0.001015, allocations: 190.8 kB / 16.13 MB, free: 6.699 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.78 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.267, allocations: 157.4 MB / 1.052 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008286/0.2753, allocations: 6.969 MB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.434, allocations: 153.5 MB / 1.209 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.435, allocations: 19.88 kB / 1.209 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.4387, allocations: 1.67 MB / 1.211 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.4406, allocations: 0.7681 MB / 1.211 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4424, allocations: 0.9036 MB / 1.212 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.4453, allocations: 3.578 MB / 1.216 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.4464, allocations: 0.8985 MB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.4476, allocations: 1.055 MB / 1.218 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.4487, allocations: 1.039 MB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.4489, allocations: 104 kB / 1.219 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.4518, allocations: 2.021 MB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.4528, allocations: 1.333 MB / 1.222 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.4541, allocations: 1.348 MB / 1.223 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004756/0.4588, allocations: 5.52 MB / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4588, allocations: 0 / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4588, allocations: 4 kB / 1.229 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.761e-05/0.4589, allocations: 0 / 1.229 GB, free: 2.77 MB / 0.9825 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.006698/0.4656, allocations: 4.201 MB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4656, allocations: 8.031 kB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.4659, allocations: 190.1 kB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.4669, allocations: 353.1 kB / 1.233 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5189/0.9859, allocations: 87.69 MB / 1.319 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.986, allocations: 114.4 kB / 1.319 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.9861, allocations: 152 kB / 1.319 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.9881, allocations: 1.544 MB / 1.321 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9882, allocations: 0 / 1.321 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.9883, allocations: 52 kB / 1.321 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.9883, allocations: 28 kB / 1.321 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.9902, allocations: 1.613 MB / 1.322 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/1.005, allocations: 24.07 MB / 1.346 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.006, allocations: 1.434 MB / 1.347 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/1.007, allocations: 0.8902 MB / 1.348 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/1.007, allocations: 34.55 kB / 1.348 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/1.009, allocations: 0.9514 MB / 1.349 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/1.009, allocations: 4 kB / 1.349 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.003652/1.012, allocations: 2.753 MB / 1.352 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.012, allocations: 326.5 kB / 1.352 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07569/1.088, allocations: 99.69 MB / 1.45 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/1.088, allocations: 57.7 kB / 1.45 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.089, allocations: 1.101 MB / 1.451 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/1.09, allocations: 335.1 kB / 1.451 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005781/1.09, allocations: 359.4 kB / 1.451 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/1.09, allocations: 309.1 kB / 1.452 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.092, allocations: 1.191 MB / 1.453 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.093, allocations: 1.416 MB / 1.454 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/1.096, allocations: 2.586 MB / 1.457 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.096, allocations: 0 / 1.457 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004289/1.1, allocations: 3.216 MB / 1.46 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.101, allocations: 153.6 kB / 1.46 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.101, allocations: 4 kB / 1.46 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.101, allocations: 8.406 kB / 1.46 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.102, allocations: 319.5 kB / 1.46 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/1.102, allocations: 8 kB / 1.46 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.103, allocations: 330.8 kB / 1.461 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.103, allocations: 71.14 kB / 1.461 GB, free: 3.496 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.001106/1.105, allocations: 1.043 MB / 1.462 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/1.105, allocations: 233 kB / 1.462 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/1.109, allocations: 2.517 MB / 1.464 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.109, allocations: 12 kB / 1.464 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.109, allocations: 0 / 1.464 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.109, allocations: 11.92 kB / 1.464 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/1.111, allocations: 2.011 MB / 1.466 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.111, allocations: 0 / 1.466 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/1.112, allocations: 167.7 kB / 1.467 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/1.112, allocations: 4 kB / 1.467 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/1.112, allocations: 31.97 kB / 1.467 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.112, allocations: 4 kB / 1.467 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.112, allocations: 0 / 1.467 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/1.115, allocations: 2.342 MB / 1.469 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.117, allocations: 0.8019 MB / 1.47 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/1.117, allocations: 23.94 kB / 1.47 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.118, allocations: 200.3 kB / 1.47 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.119, allocations: 84.81 kB / 1.47 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.119, allocations: 55.91 kB / 1.47 GB, free: 9.852 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.06673/1.185, allocations: 79.56 MB / 1.548 GB, free: 10.27 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.91e-07/1.185, allocations: 0 / 1.548 GB, free: 10.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003025/1.188, allocations: 1.081 MB / 1.549 GB, free: 9.266 MB / 1.092 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.00632/1.195, allocations: 3.743 MB / 1.552 GB, free: 5.801 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004509/1.199, allocations: 3.544 MB / 1.556 GB, free: 2.242 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.199, allocations: 0 / 1.556 GB, free: 2.242 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/1.201, allocations: 1.524 MB / 1.557 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.203, allocations: 393.4 kB / 1.558 GB, free: 332 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7639/1.967, allocations: 417.4 MB / 1.965 GB, free: 215.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.969, allocations: 1.783 MB / 1.967 GB, free: 213.4 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001805/1.97, allocations: 0.7833 MB / 1.968 GB, free: 212.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.972, allocations: 1.139 MB / 1.969 GB, free: 211.6 MB / 1.248 GB Notification: Performance of SimCode: time 8.91e-07/1.972, allocations: 0 / 1.969 GB, free: 211.6 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6036/2.576, allocations: 110.1 MB / 2.076 GB, free: 102.8 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/2.576, allocations: 279 kB / 2.077 GB, free: 102.4 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/6.001, allocations: 0 / 2.077 GB, free: 102.4 MB / 1.248 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)