Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.651/1.651, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001162/0.001162, allocations: 190.6 kB / 371.8 MB, free: 10.25 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.624/1.624, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001146/0.001146, allocations: 95.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 14.88 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004028/0.2411, allocations: 3.795 MB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.735/0.9761, allocations: 127.3 MB / 1.107 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.9771, allocations: 14.06 kB / 1.108 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.9775, allocations: 80.25 kB / 1.108 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.9794, allocations: 452.4 kB / 1.108 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.9816, allocations: 0.6019 MB / 1.109 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.9832, allocations: 0.8113 MB / 1.109 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.9843, allocations: 0.6677 MB / 1.11 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.9851, allocations: 347.5 kB / 1.11 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.9856, allocations: 343.2 kB / 1.111 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.9857, allocations: 23.59 kB / 1.111 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.9866, allocations: 251.6 kB / 1.111 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.9868, allocations: 186.1 kB / 1.111 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.9871, allocations: 212.9 kB / 1.111 GB, free: 17.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.9896, allocations: 1.263 MB / 1.113 GB, free: 17.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9896, allocations: 1.969 kB / 1.113 GB, free: 17.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9896, allocations: 1.625 kB / 1.113 GB, free: 17.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.9896, allocations: 4 kB / 1.113 GB, free: 17.57 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002823/0.9925, allocations: 1.31 MB / 1.114 GB, free: 16.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.9925, allocations: 9.906 kB / 1.114 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/0.9928, allocations: 172.2 kB / 1.114 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.9939, allocations: 221.4 kB / 1.114 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.9952, allocations: 0.776 MB / 1.115 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.9953, allocations: 83.16 kB / 1.115 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.9954, allocations: 109.8 kB / 1.115 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.9975, allocations: 1.107 MB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.9975, allocations: 0 / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.9976, allocations: 46.78 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.9977, allocations: 27.19 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.9998, allocations: 1.224 MB / 1.118 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/1.005, allocations: 3.003 MB / 1.12 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.006, allocations: 0.7744 MB / 1.121 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.763e-05/1.007, allocations: 32.05 kB / 1.121 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007963/1.007, allocations: 449 kB / 1.122 GB, free: 15.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/1.007, allocations: 4 kB / 1.122 GB, free: 15.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002987/1.01, allocations: 1.141 MB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.01, allocations: 194 kB / 1.123 GB, free: 14.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009543/1.011, allocations: 0.6668 MB / 1.124 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.012, allocations: 37.45 kB / 1.124 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/1.012, allocations: 496 kB / 1.124 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/1.012, allocations: 262.6 kB / 1.124 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/1.012, allocations: 20.03 kB / 1.124 GB, free: 14.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.012, allocations: 391 kB / 1.125 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/1.013, allocations: 233.1 kB / 1.125 GB, free: 13.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/1.013, allocations: 350.1 kB / 1.125 GB, free: 13.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/1.014, allocations: 289 kB / 1.126 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.014, allocations: 4 kB / 1.126 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001731/1.016, allocations: 0.7886 MB / 1.126 GB, free: 13.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.016, allocations: 7.344 kB / 1.126 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.016, allocations: 0 / 1.126 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/1.016, allocations: 93.09 kB / 1.127 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/1.017, allocations: 148.8 kB / 1.127 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.019, allocations: 1.534 MB / 1.128 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/1.02, allocations: 88.98 kB / 1.128 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/1.02, allocations: 33.64 kB / 1.128 GB, free: 11.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0006693/1.021, allocations: 277.7 kB / 1.129 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.021, allocations: 83.44 kB / 1.129 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/1.023, allocations: 1.042 MB / 1.13 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.023, allocations: 11.78 kB / 1.13 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.023, allocations: 0 / 1.13 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.023, allocations: 3.984 kB / 1.13 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.024, allocations: 0.9798 MB / 1.131 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.024, allocations: 0 / 1.131 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/1.025, allocations: 153.2 kB / 1.131 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/1.026, allocations: 87.91 kB / 1.131 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/1.026, allocations: 23.64 kB / 1.131 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/1.027, allocations: 1.563 MB / 1.132 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.027, allocations: 0 / 1.132 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.029, allocations: 0.8916 MB / 1.133 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/1.03, allocations: 281 kB / 1.134 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.03, allocations: 15.03 kB / 1.134 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/1.031, allocations: 66.95 kB / 1.134 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.031, allocations: 61.84 kB / 1.134 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/1.031, allocations: 32.64 kB / 1.134 GB, free: 8.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000715/1.032, allocations: 474.4 kB / 1.134 GB, free: 8.793 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.134 GB, free: 8.793 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001099/1.033, allocations: 326.8 kB / 1.134 GB, free: 8.707 MB / 0.698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.00342/1.036, allocations: 1.882 MB / 1.136 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001722/1.038, allocations: 0.7806 MB / 1.137 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.038, allocations: 0 / 1.137 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009243/1.039, allocations: 0.4985 MB / 1.138 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.04, allocations: 246.9 kB / 1.138 GB, free: 7.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.053, allocations: 5.823 MB / 1.143 GB, free: 4.355 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/1.054, allocations: 1.1 MB / 1.145 GB, free: 3.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001195/1.055, allocations: 263.3 kB / 1.145 GB, free: 3.348 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/1.056, allocations: 445.9 kB / 1.145 GB, free: 3.293 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.056, allocations: 0 / 1.145 GB, free: 3.293 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/1.105, allocations: 21.17 MB / 1.166 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/1.105, allocations: 283.1 kB / 1.166 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.859, allocations: 0 / 1.166 GB, free: 8.766 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)