Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 182.4 kB / 325.8 MB, free: 2.688 MB / 250.7 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 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006747/0.0006747, allocations: 98.28 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 12.97 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003448/0.1395, allocations: 4.189 MB / 0.9003 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.117/0.2565, allocations: 148 MB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.2572, allocations: 19.94 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.2578, allocations: 146.8 kB / 1.045 GB, free: 11.13 MB / 0.698 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.001193/0.259, allocations: 372 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.2604, allocations: 0.6993 MB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.2615, allocations: 1.211 MB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008991/0.2624, allocations: 0.8491 MB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.2628, allocations: 358 kB / 1.048 GB, free: 7.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.2632, allocations: 381.5 kB / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.2633, allocations: 28 kB / 1.049 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.2638, allocations: 295.7 kB / 1.049 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.264, allocations: 199 kB / 1.049 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.2643, allocations: 472.6 kB / 1.05 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2654, allocations: 1.588 MB / 1.051 GB, free: 4.664 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2654, allocations: 3.984 kB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2655, allocations: 3.938 kB / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.2655, allocations: 0 / 1.051 GB, free: 4.656 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.001783/0.2673, allocations: 1.3 MB / 1.053 GB, free: 3.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2673, allocations: 8.031 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.2675, allocations: 173.2 kB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.2683, allocations: 223.1 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.2692, allocations: 0.7935 MB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.2693, allocations: 86.25 kB / 1.054 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2694, allocations: 108 kB / 1.054 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.2709, allocations: 1.121 MB / 1.055 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.271, allocations: 4 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.271, allocations: 44 kB / 1.055 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.2711, allocations: 32 kB / 1.055 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2762/0.5473, allocations: 1.224 MB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.5511, allocations: 3.008 MB / 1.059 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.5522, allocations: 0.7776 MB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.5526, allocations: 301.5 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.5527, allocations: 30.95 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.5534, allocations: 454 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.5534, allocations: 3.125 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002494/0.5559, allocations: 1.153 MB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.556, allocations: 189.2 kB / 1.062 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.5567, allocations: 0.6642 MB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.5567, allocations: 39.73 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.557, allocations: 498.1 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.5571, allocations: 262.8 kB / 1.063 GB, free: 157.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.5572, allocations: 59.34 kB / 1.063 GB, free: 157.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.5573, allocations: 393.2 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.5578, allocations: 240.1 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.5583, allocations: 357.5 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.5592, allocations: 0.5791 MB / 1.065 GB, free: 157.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5593, allocations: 1.344 kB / 1.065 GB, free: 157.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001699/0.561, allocations: 0.8 MB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.561, allocations: 6.359 kB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.561, allocations: 0.9375 kB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/0.5616, allocations: 83.36 kB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.5622, allocations: 153.1 kB / 1.066 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.5637, allocations: 1.522 MB / 1.067 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.5642, allocations: 96.77 kB / 1.068 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.5643, allocations: 32.86 kB / 1.068 GB, free: 156 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 (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 (84): * Single equations (assignments): 83 * Array equations: 0 * 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.0003197/0.5646, allocations: 271.2 kB / 1.068 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5647, allocations: 83.5 kB / 1.068 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.567, allocations: 1.042 MB / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.567, allocations: 9.641 kB / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.567, allocations: 0 / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.567, allocations: 5.688 kB / 1.069 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5682, allocations: 0.9788 MB / 1.07 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5682, allocations: 0.7031 kB / 1.07 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.5687, allocations: 151.2 kB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/0.5692, allocations: 84.14 kB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.5693, allocations: 23.23 kB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.5707, allocations: 1.554 MB / 1.072 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5707, allocations: 0.7031 kB / 1.072 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5724, allocations: 0.8882 MB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.5727, allocations: 269.9 kB / 1.073 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.5728, allocations: 21.64 kB / 1.073 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.5733, allocations: 63.69 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5735, allocations: 70.92 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.5736, allocations: 33.81 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005179/0.5741, allocations: 481.6 kB / 1.073 GB, free: 153 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5741, allocations: 0 / 1.073 GB, free: 153 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006485/0.5747, allocations: 310.4 kB / 1.074 GB, free: 152.9 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002705/0.5774, allocations: 1.908 MB / 1.076 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.5787, allocations: 0.773 MB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5787, allocations: 5.031 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.5795, allocations: 0.5037 MB / 1.077 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.5805, allocations: 263.4 kB / 1.077 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.5903, allocations: 7.34 MB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.5909, allocations: 1.077 MB / 1.085 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.5917, allocations: 270.8 kB / 1.086 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.5922, allocations: 446.2 kB / 1.086 GB, free: 145.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5922, allocations: 0 / 1.086 GB, free: 145.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4974/1.09, allocations: 20.03 MB / 1.106 GB, free: 127 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.09, allocations: 325.7 kB / 1.106 GB, free: 126.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.613, allocations: 3.938 kB / 1.106 GB, free: 126.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)