Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.483/1.483, allocations: 288.4 MB / 303.6 MB, free: 8.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008762/0.0008762, allocations: 178.2 kB / 372.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006628/0.0006626, allocations: 78.94 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 12.34 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.003904/0.1493, allocations: 4.758 MB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4311/0.5804, allocations: 140.2 MB / 1.122 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.581, allocations: 22.38 kB / 1.122 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.5842, allocations: 1.573 MB / 1.123 GB, free: 1.918 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001375/0.5856, allocations: 0.593 MB / 1.124 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.5873, allocations: 0.6811 MB / 1.125 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.589, allocations: 2.089 MB / 1.127 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009768/0.59, allocations: 0.8925 MB / 1.127 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007529/0.5907, allocations: 0.5769 MB / 1.128 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.5914, allocations: 0.6228 MB / 1.129 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.906e-05/0.5915, allocations: 39.44 kB / 1.129 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.594, allocations: 1.809 MB / 1.13 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.5946, allocations: 1.066 MB / 1.131 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.5954, allocations: 1.026 MB / 1.132 GB, free: 16.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.599, allocations: 4.018 MB / 1.136 GB, free: 15.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.599, allocations: 1.188 kB / 1.136 GB, free: 15.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.599, allocations: 0 / 1.136 GB, free: 15.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.96e-05/0.599, allocations: 0 / 1.136 GB, free: 15.06 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00533/0.6043, allocations: 3.125 MB / 1.139 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6044, allocations: 9.281 kB / 1.139 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.6046, allocations: 182.6 kB / 1.14 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6057, allocations: 349.8 kB / 1.14 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07249/0.6782, allocations: 87.56 MB / 1.225 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.6783, allocations: 94.34 kB / 1.226 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.6785, allocations: 124 kB / 1.226 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.6806, allocations: 1.24 MB / 1.227 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6807, allocations: 0 / 1.227 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6808, allocations: 52 kB / 1.227 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.6808, allocations: 31.94 kB / 1.227 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.6829, allocations: 1.414 MB / 1.228 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.7028, allocations: 23.14 MB / 1.251 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.7047, allocations: 0.989 MB / 1.252 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.7054, allocations: 403.7 kB / 1.252 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.588e-05/0.7055, allocations: 37.8 kB / 1.252 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008618/0.7064, allocations: 0.5611 MB / 1.253 GB, free: 264 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 2.785e-06/0.7064, allocations: 4 kB / 1.253 GB, free: 260 kB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.003737/0.7101, allocations: 1.562 MB / 1.254 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.7102, allocations: 196.9 kB / 1.255 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09697/0.8072, allocations: 99.36 MB / 1.352 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.8075, allocations: 49.7 kB / 1.352 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.8085, allocations: 1.025 MB / 1.353 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.8089, allocations: 292.1 kB / 1.353 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.8089, allocations: 20 kB / 1.353 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8091, allocations: 345.9 kB / 1.353 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.8099, allocations: 449.7 kB / 1.354 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/0.8107, allocations: 0.5744 MB / 1.354 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.8122, allocations: 0.935 MB / 1.355 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8122, allocations: 3.938 kB / 1.355 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002979/0.8152, allocations: 1.396 MB / 1.357 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8152, allocations: 4 kB / 1.357 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8152, allocations: 0 / 1.357 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005497/0.8158, allocations: 88.86 kB / 1.357 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.8166, allocations: 219.7 kB / 1.357 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.8184, allocations: 1.52 MB / 1.358 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.8201, allocations: 263.8 kB / 1.359 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.8202, allocations: 43.97 kB / 1.359 GB, free: 3.617 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.8213, allocations: 0.7922 MB / 1.359 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.8219, allocations: 205.3 kB / 1.36 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.8248, allocations: 1.489 MB / 1.361 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8248, allocations: 12 kB / 1.361 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8248, allocations: 0 / 1.361 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8248, allocations: 7.984 kB / 1.361 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005895/0.8307, allocations: 3.516 MB / 1.365 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8308, allocations: 0 / 1.365 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.8314, allocations: 179.7 kB / 1.365 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/0.8319, allocations: 84.77 kB / 1.365 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.832, allocations: 27.92 kB / 1.365 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.8336, allocations: 1.544 MB / 1.366 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8336, allocations: 0 / 1.366 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.836, allocations: 1.29 MB / 1.368 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.8371, allocations: 0.7514 MB / 1.368 GB, free: 9.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.8374, allocations: 24 kB / 1.368 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.8385, allocations: 180 kB / 1.369 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.8386, allocations: 68.89 kB / 1.369 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.8387, allocations: 39.98 kB / 1.369 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.3766/1.215, allocations: 79.37 MB / 1.446 GB, free: 351.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.272e-06/1.215, allocations: 0 / 1.446 GB, free: 351.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002805/1.218, allocations: 0.9418 MB / 1.447 GB, free: 351.3 MB / 0.948 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004584/1.223, allocations: 2.641 MB / 1.45 GB, free: 350.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.225, allocations: 1.131 MB / 1.451 GB, free: 349.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.225, allocations: 1.312 kB / 1.451 GB, free: 349.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009338/1.226, allocations: 0.6081 MB / 1.451 GB, free: 349.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.227, allocations: 359.6 kB / 1.452 GB, free: 349.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1827/1.41, allocations: 251.8 MB / 1.698 GB, free: 105.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/1.411, allocations: 1.682 MB / 1.699 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001791/1.413, allocations: 0.748 MB / 1.7 GB, free: 103.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.414, allocations: 1.061 MB / 1.701 GB, free: 102.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/1.414, allocations: 0 / 1.701 GB, free: 102.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9103/2.324, allocations: 86.86 MB / 1.786 GB, free: 16.08 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.325, allocations: 285 kB / 1.786 GB, free: 15.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.852/6.177, allocations: 0 / 1.786 GB, free: 15.72 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)