Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009154, allocations: 97.95 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.007024/0.007024, allocations: 170.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 0.5105 GB, free: 4.652 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005357, allocations: 19.44 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4858, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006551/0.4924, allocations: 5.069 MB / 0.7337 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.6633, allocations: 150.6 MB / 0.8808 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.6644, allocations: 23.81 kB / 0.8808 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.6688, allocations: 1.612 MB / 0.8824 GB, free: 13.31 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001996/0.6708, allocations: 0.6135 MB / 0.883 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.6729, allocations: 0.8161 MB / 0.8838 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.6758, allocations: 3.221 MB / 0.8869 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.677, allocations: 0.8732 MB / 0.8878 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.6781, allocations: 0.8598 MB / 0.8886 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.6792, allocations: 0.7856 MB / 0.8894 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.6794, allocations: 48 kB / 0.8894 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.683, allocations: 1.884 MB / 0.8913 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.684, allocations: 1.162 MB / 0.8924 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.6848, allocations: 0.7547 MB / 0.8931 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.6889, allocations: 3.474 MB / 0.8965 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6889, allocations: 0 / 0.8965 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6889, allocations: 0 / 0.8965 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.6889, allocations: 0 / 0.8965 GB, free: 14.75 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003672/0.6926, allocations: 2.05 MB / 0.8985 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.6927, allocations: 8.031 kB / 0.8985 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.6936, allocations: 266 kB / 0.8988 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.6979, allocations: 2.941 MB / 0.9017 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.698, allocations: 106.2 kB / 0.9018 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.6983, allocations: 140 kB / 0.9019 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.7007, allocations: 1.437 MB / 0.9033 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.7008, allocations: 0 / 0.9033 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.7009, allocations: 48 kB / 0.9034 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.7009, allocations: 28 kB / 0.9034 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.7032, allocations: 1.542 MB / 0.9049 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007187/0.7104, allocations: 5.097 MB / 0.9099 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4234/1.134, allocations: 1.323 MB / 0.9112 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/1.135, allocations: 0.8507 MB / 0.912 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.61e-05/1.135, allocations: 32.03 kB / 0.912 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/1.137, allocations: 0.8637 MB / 0.9129 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=92): time 3.557e-06/1.137, allocations: 0.7812 kB / 0.9129 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.004631/1.141, allocations: 2.508 MB / 0.9153 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/1.142, allocations: 322.4 kB / 0.9156 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006252/1.148, allocations: 4.313 MB / 0.9198 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.148, allocations: 53.48 kB / 0.9199 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/1.149, allocations: 0.6575 MB / 0.9205 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/1.149, allocations: 315 kB / 0.9208 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006052/1.15, allocations: 0.8451 MB / 0.9217 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/1.15, allocations: 302.8 kB / 0.9219 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.155, allocations: 7.003 MB / 0.9288 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/1.16, allocations: 7.265 MB / 0.9359 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006528/1.167, allocations: 8.927 MB / 0.9446 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.167, allocations: 3.188 kB / 0.9446 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01206/1.179, allocations: 15.76 MB / 0.96 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/1.179, allocations: 153.6 kB / 0.9601 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.179, allocations: 0 / 0.9601 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.179, allocations: 8 kB / 0.9601 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.18, allocations: 298.4 kB / 0.9604 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.18, allocations: 11.98 kB / 0.9604 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.181, allocations: 173 kB / 0.9606 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.181, allocations: 76.73 kB / 0.9607 GB, free: 139.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 176 * Array equations: 12 * 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.000961/1.182, allocations: 0.8269 MB / 0.9615 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/1.183, allocations: 142.1 kB / 0.9616 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/1.186, allocations: 2.237 MB / 0.9638 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.186, allocations: 17.31 kB / 0.9638 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.186, allocations: 0 / 0.9638 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/1.186, allocations: 3.984 kB / 0.9638 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.19, allocations: 3.612 MB / 0.9673 GB, free: 133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.19, allocations: 3.984 kB / 0.9674 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/1.19, allocations: 151.8 kB / 0.9675 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.19, allocations: 3.75 kB / 0.9675 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/1.19, allocations: 39.2 kB / 0.9675 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.19, allocations: 4 kB / 0.9675 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.19, allocations: 3.938 kB / 0.9675 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/1.193, allocations: 2.188 MB / 0.9697 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/1.193, allocations: 412.2 kB / 0.9701 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.194, allocations: 24 kB / 0.9701 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/1.194, allocations: 74.17 kB / 0.9702 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.194, allocations: 68.84 kB / 0.9702 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/1.194, allocations: 47.97 kB / 0.9703 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001915/1.196, allocations: 2.746 MB / 0.973 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 0 / 0.973 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002184/1.199, allocations: 1.003 MB / 0.9739 GB, free: 126.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001942/1.201, allocations: 0.9013 MB / 0.9748 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007232/1.208, allocations: 10.59 MB / 0.9852 GB, free: 115 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.208, allocations: 0 / 0.9852 GB, free: 115 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.209, allocations: 1.473 MB / 0.9866 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.211, allocations: 290.7 kB / 0.9869 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/1.216, allocations: 6.264 MB / 0.993 GB, free: 107 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.217, allocations: 1.746 MB / 0.9947 GB, free: 105.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009228/1.218, allocations: 373.8 kB / 0.9951 GB, free: 104.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.219, allocations: 135.4 kB / 0.9952 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/1.219, allocations: 0 / 0.9952 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.03532/1.254, allocations: 27.72 MB / 1.022 GB, free: 77.11 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) Environment - environmentSimulation: