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.0009594/0.0009596, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006145/0.006146, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.57/2.57, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 19.97 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007362/0.2976, allocations: 6.503 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1542/0.4518, allocations: 151.1 MB / 1.213 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.4529, allocations: 19.88 kB / 1.213 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004301/0.4572, allocations: 1.67 MB / 1.214 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.4596, allocations: 0.7726 MB / 1.215 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.4618, allocations: 0.8986 MB / 1.216 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.4654, allocations: 3.582 MB / 1.22 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.4667, allocations: 0.8751 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.4683, allocations: 0.9339 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.4694, allocations: 0.8829 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.4695, allocations: 55.94 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.4725, allocations: 1.966 MB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009765/0.4735, allocations: 1.247 MB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.4747, allocations: 1.264 MB / 1.227 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005811/0.4805, allocations: 5.406 MB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4806, allocations: 4 kB / 1.232 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4806, allocations: 4 kB / 1.232 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.294e-05/0.4807, allocations: 0 / 1.232 GB, free: 2.898 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.006397/0.4871, allocations: 3.481 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4871, allocations: 8.031 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.4874, allocations: 198.2 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.4884, allocations: 353.1 kB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6359/1.124, allocations: 87.69 MB / 1.321 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.39e-05/1.124, allocations: 110.4 kB / 1.322 GB, free: 24.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/1.125, allocations: 155.8 kB / 1.322 GB, free: 23.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/1.127, allocations: 1.549 MB / 1.323 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.127, allocations: 0 / 1.323 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.127, allocations: 52 kB / 1.323 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.127, allocations: 28 kB / 1.323 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.129, allocations: 1.618 MB / 1.325 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/1.147, allocations: 24.17 MB / 1.348 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.149, allocations: 1.439 MB / 1.35 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/1.15, allocations: 0.8932 MB / 1.351 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/1.15, allocations: 35.98 kB / 1.351 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/1.152, allocations: 0.9588 MB / 1.352 GB, free: 12.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 4.679e-06/1.152, allocations: 6.906 kB / 1.352 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.004771/1.157, allocations: 2.766 MB / 1.354 GB, free: 10.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/1.157, allocations: 335.4 kB / 1.355 GB, free: 9.852 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1198/1.277, allocations: 101 MB / 1.453 GB, free: 10.01 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/1.277, allocations: 61.7 kB / 1.453 GB, free: 9.941 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.279, allocations: 1.091 MB / 1.454 GB, free: 8.844 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/1.279, allocations: 347.3 kB / 1.455 GB, free: 8.508 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/1.28, allocations: 165.6 kB / 1.455 GB, free: 8.34 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/1.28, allocations: 309.1 kB / 1.455 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.282, allocations: 1.202 MB / 1.456 GB, free: 6.836 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.284, allocations: 1.42 MB / 1.458 GB, free: 5.355 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/1.287, allocations: 2.591 MB / 1.46 GB, free: 2.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.287, allocations: 4 kB / 1.46 GB, free: 2.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005539/1.293, allocations: 3.223 MB / 1.463 GB, free: 15.51 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/1.293, allocations: 159.2 kB / 1.464 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.293, allocations: 5.156 kB / 1.464 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/1.293, allocations: 12 kB / 1.464 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.294, allocations: 309.4 kB / 1.464 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/1.294, allocations: 15.98 kB / 1.464 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.296, allocations: 336.5 kB / 1.464 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.297, allocations: 77.44 kB / 1.464 GB, free: 14.64 MB / 1.123 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.001593/1.298, allocations: 1.032 MB / 1.465 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/1.299, allocations: 236.9 kB / 1.466 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/1.303, allocations: 2.527 MB / 1.468 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.303, allocations: 12 kB / 1.468 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.303, allocations: 5.875 kB / 1.468 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.303, allocations: 11.72 kB / 1.468 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/1.305, allocations: 2.016 MB / 1.47 GB, free: 8.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.305, allocations: 0 / 1.47 GB, free: 8.777 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/1.306, allocations: 160.6 kB / 1.47 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/1.306, allocations: 7.938 kB / 1.47 GB, free: 8.621 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/1.306, allocations: 35.97 kB / 1.47 GB, free: 8.586 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.306, allocations: 4 kB / 1.47 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.306, allocations: 0 / 1.47 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/1.309, allocations: 2.344 MB / 1.473 GB, free: 6.215 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.311, allocations: 0.8175 MB / 1.473 GB, free: 5.375 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/1.311, allocations: 27.94 kB / 1.473 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.312, allocations: 211.8 kB / 1.474 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.312, allocations: 84.88 kB / 1.474 GB, free: 5.059 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/1.312, allocations: 51.97 kB / 1.474 GB, free: 5.008 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.06827/1.381, allocations: 79.56 MB / 1.551 GB, free: 5.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.51e-07/1.381, allocations: 0 / 1.551 GB, free: 5.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00363/1.384, allocations: 1.079 MB / 1.552 GB, free: 4.426 MB / 1.201 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.008153/1.393, allocations: 3.748 MB / 1.556 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004938/1.397, allocations: 3.551 MB / 1.56 GB, free: 13.45 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.398, allocations: 0.7031 kB / 1.56 GB, free: 13.45 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.399, allocations: 1.529 MB / 1.561 GB, free: 11.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.403, allocations: 397.3 kB / 1.561 GB, free: 11.54 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8086/2.212, allocations: 417.4 MB / 1.969 GB, free: 417 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/2.213, allocations: 1.783 MB / 1.971 GB, free: 415.2 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.001849/2.215, allocations: 0.779 MB / 1.972 GB, free: 414.5 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/2.216, allocations: 1.147 MB / 1.973 GB, free: 413.4 MB / 1.404 GB Notification: Performance of SimCode: time 6.81e-07/2.216, allocations: 0 / 1.973 GB, free: 413.4 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/4.52, allocations: 93.3 MB / 2.064 GB, free: 321.3 MB / 1.404 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/4.521, allocations: 270.4 kB / 2.064 GB, free: 321 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/7.71, allocations: 0 / 2.064 GB, free: 321 MB / 1.404 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)