Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_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.001272/0.001272, 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.001423/0.001423, allocations: 193.5 kB / 16.14 MB, free: 6.691 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 0.8687 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5073, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007297/0.5147, allocations: 6.999 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.6547, allocations: 153.6 MB / 1.173 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.6557, allocations: 23.88 kB / 1.174 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.6592, allocations: 1.655 MB / 1.175 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.6608, allocations: 0.7811 MB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.6626, allocations: 0.8999 MB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.6651, allocations: 3.582 MB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.6662, allocations: 0.8946 MB / 1.181 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.6672, allocations: 1.055 MB / 1.182 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.6682, allocations: 1.035 MB / 1.183 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6684, allocations: 108 kB / 1.183 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.6709, allocations: 2.024 MB / 1.185 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009178/0.6719, allocations: 1.329 MB / 1.187 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.673, allocations: 1.352 MB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.6772, allocations: 5.512 MB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6772, allocations: 7.984 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6772, allocations: 0 / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.802e-05/0.6773, allocations: 0 / 1.193 GB, free: 13.32 MB / 0.9512 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.006273/0.6835, allocations: 4.197 MB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6836, allocations: 8.031 kB / 1.197 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.6838, allocations: 198.2 kB / 1.198 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009852/0.6848, allocations: 349.1 kB / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5333/1.218, allocations: 87.68 MB / 1.284 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/1.218, allocations: 114.4 kB / 1.284 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.218, allocations: 152.7 kB / 1.284 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.22, allocations: 1.541 MB / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.22, allocations: 0 / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-05/1.221, allocations: 56.84 kB / 1.285 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.221, allocations: 28 kB / 1.285 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/1.222, allocations: 1.613 MB / 1.287 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/1.237, allocations: 24.07 MB / 1.31 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/1.239, allocations: 1.433 MB / 1.312 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/1.24, allocations: 0.8862 MB / 1.313 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/1.24, allocations: 37.17 kB / 1.313 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/1.241, allocations: 0.9512 MB / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/1.241, allocations: 4 kB / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.003672/1.244, allocations: 2.753 MB / 1.316 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.245, allocations: 326.5 kB / 1.317 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07314/1.318, allocations: 99.68 MB / 1.414 GB, free: 85.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002977/1.318, allocations: 57.7 kB / 1.414 GB, free: 85.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/1.319, allocations: 1.101 MB / 1.415 GB, free: 84.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/1.319, allocations: 339.1 kB / 1.415 GB, free: 83.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/1.32, allocations: 363.4 kB / 1.416 GB, free: 83.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/1.32, allocations: 309 kB / 1.416 GB, free: 83.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.321, allocations: 1.191 MB / 1.417 GB, free: 82.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.322, allocations: 1.423 MB / 1.419 GB, free: 80.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/1.325, allocations: 2.582 MB / 1.421 GB, free: 78.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.325, allocations: 4 kB / 1.421 GB, free: 78.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003961/1.328, allocations: 3.206 MB / 1.424 GB, free: 74.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.329, allocations: 155.5 kB / 1.424 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.329, allocations: 4 kB / 1.425 GB, free: 74.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.329, allocations: 11.94 kB / 1.425 GB, free: 74.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/1.33, allocations: 312 kB / 1.425 GB, free: 74.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.33, allocations: 11.94 kB / 1.425 GB, free: 74.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.331, allocations: 335.8 kB / 1.425 GB, free: 73.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.331, allocations: 71.97 kB / 1.425 GB, free: 73.91 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.001014/1.332, allocations: 1.035 MB / 1.426 GB, free: 72.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.333, allocations: 233 kB / 1.426 GB, free: 72.63 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/1.336, allocations: 2.528 MB / 1.429 GB, free: 70.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/1.336, allocations: 12 kB / 1.429 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.336, allocations: 0 / 1.429 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.336, allocations: 15.34 kB / 1.429 GB, free: 70.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/1.337, allocations: 2.009 MB / 1.431 GB, free: 68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.337, allocations: 0 / 1.431 GB, free: 68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/1.338, allocations: 159.8 kB / 1.431 GB, free: 67.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.338, allocations: 4 kB / 1.431 GB, free: 67.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/1.338, allocations: 39.95 kB / 1.431 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.338, allocations: 4 kB / 1.431 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.338, allocations: 0 / 1.431 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/1.341, allocations: 2.342 MB / 1.433 GB, free: 65.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/1.342, allocations: 0.8013 MB / 1.434 GB, free: 64.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.342, allocations: 30.53 kB / 1.434 GB, free: 64.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.343, allocations: 187.9 kB / 1.434 GB, free: 64.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.343, allocations: 84.88 kB / 1.434 GB, free: 64.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/1.343, allocations: 55.91 kB / 1.435 GB, free: 64.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04867/1.392, allocations: 79.56 MB / 1.512 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.61e-07/1.392, allocations: 0 / 1.512 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002588/1.395, allocations: 1.081 MB / 1.513 GB, free: 15.61 MB / 1.029 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.005734/1.4, allocations: 3.736 MB / 1.517 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003786/1.404, allocations: 3.54 MB / 1.52 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.404, allocations: 4 kB / 1.52 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.406, allocations: 1.532 MB / 1.522 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.407, allocations: 392.6 kB / 1.522 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7398/2.147, allocations: 417.4 MB / 1.93 GB, free: 252.2 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/2.148, allocations: 1.783 MB / 1.932 GB, free: 250.5 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001875/2.15, allocations: 0.7792 MB / 1.932 GB, free: 249.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/2.151, allocations: 1.143 MB / 1.933 GB, free: 248.6 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/2.151, allocations: 4 kB / 1.933 GB, free: 248.6 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.463/6.615, allocations: 110 MB / 2.041 GB, free: 139.8 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/6.615, allocations: 277.1 kB / 2.041 GB, free: 139.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/10.18, allocations: 3.938 kB / 2.041 GB, free: 139.5 MB / 1.217 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)