Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_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.0008822/0.0008822, allocations: 97.64 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.005618/0.005618, allocations: 170.1 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.263/1.263, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.565/1.565, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0008554/0.0008554, allocations: 18.33 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1912, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005095/0.1963, allocations: 5.07 MB / 0.7929 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.52/0.7163, allocations: 150.6 MB / 0.9401 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.717, allocations: 21.34 kB / 0.9401 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.7202, allocations: 1.61 MB / 0.9416 GB, free: 1.5 MB / 0.7169 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001478/0.7217, allocations: 0.6113 MB / 0.9422 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.7235, allocations: 0.8258 MB / 0.943 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.7264, allocations: 3.215 MB / 0.9462 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.7275, allocations: 0.8823 MB / 0.9471 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.729, allocations: 0.864 MB / 0.9479 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.73, allocations: 0.7874 MB / 0.9487 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.7301, allocations: 48.72 kB / 0.9487 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.7328, allocations: 1.882 MB / 0.9505 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.7337, allocations: 1.223 MB / 0.9517 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009712/0.7347, allocations: 1.168 MB / 0.9529 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005371/0.74, allocations: 5.157 MB / 0.9579 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7401, allocations: 128 / 0.9579 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7401, allocations: 64 / 0.9579 GB, free: 0 / 0.7169 GB Notification: Performance of Transformations before backend: time 5.143e-05/0.7401, allocations: 1.5 kB / 0.9579 GB, free: 0 / 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.006589/0.7467, allocations: 3.329 MB / 0.9612 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.7468, allocations: 12.81 kB / 0.9612 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/0.747, allocations: 182.5 kB / 0.9614 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.7482, allocations: 348.6 kB / 0.9617 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07092/0.8191, allocations: 87.64 MB / 1.047 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.8192, allocations: 106.2 kB / 1.047 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.8196, allocations: 140 kB / 1.048 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8221, allocations: 1.437 MB / 1.049 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.8221, allocations: 0 / 1.049 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.8222, allocations: 48 kB / 1.049 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.8223, allocations: 31.94 kB / 1.049 GB, free: 11.06 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.8245, allocations: 1.53 MB / 1.05 GB, free: 9.523 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.8456, allocations: 23.39 MB / 1.073 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.8475, allocations: 1.33 MB / 1.075 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.8485, allocations: 0.8508 MB / 1.075 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.8486, allocations: 34.88 kB / 1.075 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.8498, allocations: 0.8584 MB / 1.076 GB, free: 15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=92): time 2.655e-06/0.8498, allocations: 0 / 1.076 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92): time 0.004283/0.8541, allocations: 2.594 MB / 1.079 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.8543, allocations: 326.2 kB / 1.079 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09916/0.9535, allocations: 99.61 MB / 1.176 GB, free: 8.391 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003613/0.9539, allocations: 57.7 kB / 1.177 GB, free: 8.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.9552, allocations: 1.053 MB / 1.178 GB, free: 7.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.9557, allocations: 308.3 kB / 1.178 GB, free: 6.973 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.956, allocations: 165.6 kB / 1.178 GB, free: 6.805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.9561, allocations: 301.1 kB / 1.178 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.9578, allocations: 1.159 MB / 1.179 GB, free: 5.348 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.9596, allocations: 1.375 MB / 1.181 GB, free: 3.914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.9626, allocations: 2.505 MB / 1.183 GB, free: 1.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9627, allocations: 0 / 1.183 GB, free: 1.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004759/0.9674, allocations: 3.094 MB / 1.186 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.9676, allocations: 157.6 kB / 1.186 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.9676, allocations: 0 / 1.186 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.9676, allocations: 19.88 kB / 1.186 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/0.9686, allocations: 291.5 kB / 1.187 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.9687, allocations: 8 kB / 1.187 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.9704, allocations: 313.8 kB / 1.187 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.9705, allocations: 71.72 kB / 1.187 GB, free: 13.39 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (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 (166): * Single equations (assignments): 165 * 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.001528/0.9721, allocations: 1.007 MB / 1.188 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007637/0.9728, allocations: 225.1 kB / 1.188 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/0.9764, allocations: 2.393 MB / 1.191 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9764, allocations: 11.94 kB / 1.191 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.9764, allocations: 3.984 kB / 1.191 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.9765, allocations: 3.984 kB / 1.191 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.9824, allocations: 4.602 MB / 1.195 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9824, allocations: 3.938 kB / 1.195 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.983, allocations: 151.8 kB / 1.195 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.983, allocations: 0 / 1.195 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.9831, allocations: 35.97 kB / 1.195 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.9831, allocations: 4 kB / 1.195 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9831, allocations: 0 / 1.195 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.9859, allocations: 2.262 MB / 1.197 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.9869, allocations: 0.798 MB / 1.198 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.9872, allocations: 24 kB / 1.198 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.9883, allocations: 187.9 kB / 1.198 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9884, allocations: 68.84 kB / 1.199 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/0.9885, allocations: 43.98 kB / 1.199 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.06229/1.051, allocations: 79.52 MB / 1.276 GB, free: 1.918 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.81e-07/1.051, allocations: 0 / 1.276 GB, free: 1.918 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003215/1.054, allocations: 1.01 MB / 1.277 GB, free: 0.9062 MB / 1.014 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.3229/1.377, allocations: 3.606 MB / 1.281 GB, free: 421.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004018/1.381, allocations: 3.437 MB / 1.284 GB, free: 421.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.381, allocations: 0 / 1.284 GB, free: 421.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/1.382, allocations: 1.472 MB / 1.286 GB, free: 420.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/1.384, allocations: 363.8 kB / 1.286 GB, free: 420.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.285/1.669, allocations: 416.4 MB / 1.693 GB, free: 20.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.671, allocations: 1.749 MB / 1.694 GB, free: 18.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001956/1.673, allocations: 0.7675 MB / 1.695 GB, free: 17.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.674, allocations: 1.101 MB / 1.696 GB, free: 16.77 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.674, allocations: 1.422 kB / 1.696 GB, free: 16.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.71/18.38, allocations: 90.28 MB / 1.784 GB, free: 371.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/18.38, allocations: 277 kB / 1.785 GB, free: 371.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.764/24.15, allocations: 8 kB / 1.785 GB, free: 371.5 MB / 1.014 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)