Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 104 kB / 16.38 MB, free: 6.473 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.001638/0.001638, allocations: 194.5 kB / 17.32 MB, free: 5.82 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.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.001528/0.001528, allocations: 75.44 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1845, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.3149/0.4994, allocations: 5.452 MB / 0.7901 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.653, allocations: 154.9 MB / 0.9414 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.6541, allocations: 27.88 kB / 0.9414 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.6584, allocations: 1.755 MB / 0.9431 GB, free: 7.969 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002046/0.6604, allocations: 0.6885 MB / 0.9438 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.6626, allocations: 0.8948 MB / 0.9446 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.665, allocations: 2.191 MB / 0.9468 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.6663, allocations: 0.9541 MB / 0.9477 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.6674, allocations: 0.802 MB / 0.9485 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.6683, allocations: 0.8129 MB / 0.9493 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.6685, allocations: 164 kB / 0.9494 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.6715, allocations: 2.157 MB / 0.9516 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009701/0.6725, allocations: 1.112 MB / 0.9526 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008063/0.6733, allocations: 0.8314 MB / 0.9535 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.6771, allocations: 3.451 MB / 0.9568 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6771, allocations: 4 kB / 0.9568 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6771, allocations: 3.938 kB / 0.9568 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.6771, allocations: 0 / 0.9568 GB, free: 9.852 MB / 0.7481 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.003264/0.6804, allocations: 2.187 MB / 0.959 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6804, allocations: 8.031 kB / 0.959 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.6814, allocations: 260.5 kB / 0.9592 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.6846, allocations: 2.876 MB / 0.962 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.6847, allocations: 102.3 kB / 0.9621 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6848, allocations: 124 kB / 0.9622 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.6868, allocations: 1.252 MB / 0.9635 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6868, allocations: 0 / 0.9635 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.687, allocations: 48 kB / 0.9635 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.687, allocations: 28 kB / 0.9635 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.6891, allocations: 1.414 MB / 0.9649 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006083/0.6952, allocations: 4.726 MB / 0.9695 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.697, allocations: 0.9996 MB / 0.9705 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.6976, allocations: 401.5 kB / 0.9709 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.6977, allocations: 45 kB / 0.9709 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/0.6986, allocations: 0.5514 MB / 0.9715 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=88): time 2.004e-06/0.6986, allocations: 0 / 0.9715 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=88): time 0.003376/0.702, allocations: 1.485 MB / 0.9729 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.7021, allocations: 192.9 kB / 0.9731 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/0.7065, allocations: 4.027 MB / 0.977 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.172e-05/0.7066, allocations: 46.73 kB / 0.9771 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.707, allocations: 0.6213 MB / 0.9777 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7073, allocations: 295.7 kB / 0.978 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008125/0.7081, allocations: 0.9349 MB / 0.9789 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.7082, allocations: 301.1 kB / 0.9792 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005449/0.7136, allocations: 6.292 MB / 0.9853 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/0.7195, allocations: 6.525 MB / 0.9917 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007162/0.7267, allocations: 7.398 MB / 0.9989 GB, free: 14.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.7267, allocations: 1.188 kB / 0.9989 GB, free: 14.29 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01435/0.7411, allocations: 14.06 MB / 1.013 GB, free: 168 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.7411, allocations: 4 kB / 1.013 GB, free: 164 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7412, allocations: 5.875 kB / 1.013 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.7418, allocations: 76.88 kB / 1.013 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.7428, allocations: 227.7 kB / 1.013 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.7449, allocations: 1.636 MB / 1.015 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.7459, allocations: 119.7 kB / 1.015 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.746, allocations: 55.97 kB / 1.015 GB, free: 13.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (143): * Single equations (assignments): 130 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007939/0.7468, allocations: 0.5978 MB / 1.015 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.747, allocations: 126.3 kB / 1.015 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.7497, allocations: 1.271 MB / 1.017 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7498, allocations: 3.984 kB / 1.017 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7498, allocations: 0 / 1.017 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.7502, allocations: 327.2 kB / 1.017 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.7504, allocations: 27.91 kB / 1.017 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.751, allocations: 62.23 kB / 1.017 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.7512, allocations: 71.05 kB / 1.017 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002253/0.7534, allocations: 1.119 MB / 1.018 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002669/0.7561, allocations: 1.736 MB / 1.02 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006858/0.7568, allocations: 447.8 kB / 1.02 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002404/0.7592, allocations: 2.585 MB / 1.023 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of Backend: time 4.91e-07/0.7592, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01075/0.77, allocations: 8.893 MB / 1.032 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of SimCode: time 0.006761/0.7768, allocations: 4.982 MB / 1.036 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.05045/0.8272, allocations: 28.61 MB / 1.064 GB, free: 11.46 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)