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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001385/0.001385, allocations: 191 kB / 16.25 MB, free: 6.637 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7101 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 59.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4696, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009155/0.4788, allocations: 6.987 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.6179, allocations: 153.4 MB / 1.174 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.619, allocations: 23.88 kB / 1.174 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.6231, allocations: 1.661 MB / 1.175 GB, free: 28 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.6253, allocations: 0.8054 MB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.6274, allocations: 0.9297 MB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.6306, allocations: 3.661 MB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6318, allocations: 0.9213 MB / 1.181 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.6333, allocations: 1.223 MB / 1.183 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6343, allocations: 1.091 MB / 1.184 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.6345, allocations: 200 kB / 1.184 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.637, allocations: 2.22 MB / 1.186 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009277/0.638, allocations: 1.427 MB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.6391, allocations: 1.504 MB / 1.189 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.6433, allocations: 5.618 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6433, allocations: 7.984 kB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6434, allocations: 0 / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.6434, allocations: 0 / 1.194 GB, free: 12.33 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.005876/0.6493, allocations: 4.201 MB / 1.198 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.6493, allocations: 8.031 kB / 1.198 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.6495, allocations: 190.2 kB / 1.199 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.6505, allocations: 353.1 kB / 1.199 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4649/1.115, allocations: 87.69 MB / 1.285 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/1.115, allocations: 115.3 kB / 1.285 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.116, allocations: 144.6 kB / 1.285 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/1.118, allocations: 1.546 MB / 1.286 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.118, allocations: 2.859 kB / 1.286 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.118, allocations: 52 kB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/1.118, allocations: 28 kB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/1.12, allocations: 1.614 MB / 1.288 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/1.134, allocations: 24.07 MB / 1.311 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.135, allocations: 1.433 MB / 1.313 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/1.136, allocations: 0.8893 MB / 1.314 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/1.136, allocations: 37.17 kB / 1.314 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/1.137, allocations: 0.959 MB / 1.315 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/1.137, allocations: 0 / 1.315 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.003628/1.141, allocations: 2.749 MB / 1.317 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.141, allocations: 330.5 kB / 1.318 GB, free: 184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07849/1.22, allocations: 99.69 MB / 1.415 GB, free: 84.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/1.22, allocations: 61.7 kB / 1.415 GB, free: 84.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/1.221, allocations: 1.093 MB / 1.416 GB, free: 83.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/1.221, allocations: 335.2 kB / 1.417 GB, free: 82.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/1.221, allocations: 359.5 kB / 1.417 GB, free: 82.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.397e-05/1.221, allocations: 305.1 kB / 1.417 GB, free: 82.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.223, allocations: 1.195 MB / 1.418 GB, free: 80.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.224, allocations: 1.416 MB / 1.42 GB, free: 79.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/1.227, allocations: 2.59 MB / 1.422 GB, free: 76.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.227, allocations: 8 kB / 1.422 GB, free: 76.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004015/1.231, allocations: 3.205 MB / 1.425 GB, free: 73.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.231, allocations: 154 kB / 1.426 GB, free: 73.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.231, allocations: 8 kB / 1.426 GB, free: 73.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.231, allocations: 8 kB / 1.426 GB, free: 73.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.232, allocations: 311.5 kB / 1.426 GB, free: 73.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.232, allocations: 8 kB / 1.426 GB, free: 73.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.233, allocations: 337.9 kB / 1.426 GB, free: 72.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.234, allocations: 75.97 kB / 1.426 GB, free: 72.72 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.0009689/1.234, allocations: 1.032 MB / 1.427 GB, free: 71.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/1.235, allocations: 240.9 kB / 1.427 GB, free: 71.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/1.238, allocations: 2.525 MB / 1.43 GB, free: 68.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.238, allocations: 12 kB / 1.43 GB, free: 68.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.238, allocations: 0 / 1.43 GB, free: 68.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.238, allocations: 7.922 kB / 1.43 GB, free: 68.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.24, allocations: 2.013 MB / 1.432 GB, free: 66.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.24, allocations: 1.422 kB / 1.432 GB, free: 66.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/1.24, allocations: 163.7 kB / 1.432 GB, free: 66.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.24, allocations: 4 kB / 1.432 GB, free: 66.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/1.24, allocations: 39.97 kB / 1.432 GB, free: 66.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/1.24, allocations: 8 kB / 1.432 GB, free: 66.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.24, allocations: 0 / 1.432 GB, free: 66.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.243, allocations: 2.331 MB / 1.434 GB, free: 64.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/1.244, allocations: 0.798 MB / 1.435 GB, free: 63.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/1.244, allocations: 31.89 kB / 1.435 GB, free: 63.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.246, allocations: 191.9 kB / 1.435 GB, free: 63.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.246, allocations: 83.23 kB / 1.435 GB, free: 63.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.708e-05/1.246, allocations: 55.91 kB / 1.436 GB, free: 63.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05168/1.298, allocations: 79.55 MB / 1.513 GB, free: 15.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.21e-07/1.298, allocations: 3.938 kB / 1.513 GB, free: 15.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002651/1.3, allocations: 1.081 MB / 1.514 GB, free: 14.42 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.006296/1.307, allocations: 3.745 MB / 1.518 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005049/1.312, allocations: 3.981 MB / 1.522 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.312, allocations: 0.8125 kB / 1.522 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.313, allocations: 1.532 MB / 1.523 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.315, allocations: 408.5 kB / 1.524 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6992/2.014, allocations: 417.4 MB / 1.931 GB, free: 250.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/2.015, allocations: 1.782 MB / 1.933 GB, free: 248.6 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001876/2.017, allocations: 0.7683 MB / 1.934 GB, free: 247.9 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/2.019, allocations: 1.149 MB / 1.935 GB, free: 246.8 MB / 1.217 GB Notification: Performance of SimCode: time 7.52e-07/2.019, allocations: 0 / 1.935 GB, free: 246.8 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/3.057, allocations: 111.2 MB / 2.044 GB, free: 136.8 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/3.057, allocations: 277.8 kB / 2.044 GB, free: 136.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.414/7.47, allocations: 0 / 2.044 GB, free: 136.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)