Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.622/1.622, allocations: 285.4 MB / 298 MB, free: 5.996 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.001119/0.001119, allocations: 172.8 kB / 366.4 MB, free: 2.102 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.501/1.501, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008093/0.0008094, allocations: 89.58 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.37e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.659, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/5.209, allocations: 2.072 GB / 3.043 GB, free: 22.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/5.209, allocations: 91 kB / 3.043 GB, free: 22.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7938/6.003, allocations: 62.54 MB / 3.104 GB, free: 328.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/6.003, allocations: 4 kB / 3.104 GB, free: 328.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.757e-05/6.003, allocations: 27.78 kB / 3.104 GB, free: 328.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00192/6.005, allocations: 1.035 MB / 3.105 GB, free: 328.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/6.005, allocations: 8.906 kB / 3.105 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/6.005, allocations: 123.5 kB / 3.105 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/6.007, allocations: 202 kB / 3.106 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/6.008, allocations: 0.608 MB / 3.106 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/6.008, allocations: 68.02 kB / 3.106 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/6.008, allocations: 74.81 kB / 3.106 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/6.009, allocations: 0.8233 MB / 3.107 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/6.009, allocations: 0 / 3.107 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/6.009, allocations: 36.52 kB / 3.107 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/6.01, allocations: 19.28 kB / 3.107 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/6.011, allocations: 1.028 MB / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/6.015, allocations: 2.424 MB / 3.11 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/6.017, allocations: 0.7739 MB / 3.111 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/6.018, allocations: 269.4 kB / 3.112 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.165e-05/6.018, allocations: 38.11 kB / 3.112 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/6.018, allocations: 425.6 kB / 3.112 GB, free: 325 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/6.018, allocations: 0 / 3.112 GB, free: 325 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001809/6.02, allocations: 0.7001 MB / 3.113 GB, free: 324.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/6.02, allocations: 248.5 kB / 3.113 GB, free: 324.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/6.021, allocations: 0.5612 MB / 3.113 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/6.021, allocations: 39.02 kB / 3.113 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/6.021, allocations: 363.1 kB / 3.114 GB, free: 323.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/6.022, allocations: 247.8 kB / 3.114 GB, free: 323.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/6.022, allocations: 10.69 kB / 3.114 GB, free: 323.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001258/6.022, allocations: 380.2 kB / 3.114 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/6.022, allocations: 210.2 kB / 3.115 GB, free: 323.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/6.023, allocations: 314.3 kB / 3.115 GB, free: 323.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/6.023, allocations: 264.5 kB / 3.115 GB, free: 323 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/6.023, allocations: 0 / 3.115 GB, free: 323 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001603/6.025, allocations: 0.7044 MB / 3.116 GB, free: 322.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/6.025, allocations: 5 kB / 3.116 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/6.025, allocations: 4 kB / 3.116 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/6.026, allocations: 81.78 kB / 3.116 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/6.026, allocations: 142.6 kB / 3.116 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/6.028, allocations: 1.525 MB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/6.029, allocations: 82.41 kB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/6.029, allocations: 32.27 kB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001826/6.029, allocations: 148.5 kB / 3.118 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/6.029, allocations: 72.09 kB / 3.118 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/6.031, allocations: 0.994 MB / 3.119 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/6.031, allocations: 8.812 kB / 3.119 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/6.031, allocations: 0 / 3.119 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/6.031, allocations: 4.875 kB / 3.119 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/6.033, allocations: 0.8762 MB / 3.12 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/6.033, allocations: 1.406 kB / 3.12 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/6.033, allocations: 146.7 kB / 3.12 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/6.034, allocations: 85.95 kB / 3.12 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/6.034, allocations: 28.19 kB / 3.12 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/6.035, allocations: 1.563 MB / 3.122 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.035, allocations: 2.828 kB / 3.122 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/6.037, allocations: 0.8141 MB / 3.122 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/6.037, allocations: 281.3 kB / 3.123 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/6.037, allocations: 17.19 kB / 3.123 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/6.038, allocations: 67.38 kB / 3.123 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/6.038, allocations: 61.33 kB / 3.123 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/6.038, allocations: 27.86 kB / 3.123 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006448/6.039, allocations: 472.8 kB / 3.123 GB, free: 317.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/6.039, allocations: 0 / 3.123 GB, free: 317.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001224/6.04, allocations: 333 kB / 3.124 GB, free: 317.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.003673/6.044, allocations: 2.247 MB / 3.126 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001506/6.045, allocations: 0.7059 MB / 3.126 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.045, allocations: 1.156 kB / 3.126 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008223/6.046, allocations: 486.8 kB / 3.127 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/6.047, allocations: 242.4 kB / 3.127 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/6.052, allocations: 1.524 MB / 3.129 GB, free: 315.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/6.052, allocations: 1.013 MB / 3.13 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001048/6.054, allocations: 268.3 kB / 3.13 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/6.054, allocations: 337.2 kB / 3.13 GB, free: 314.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/6.054, allocations: 0 / 3.13 GB, free: 314.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/6.122, allocations: 30.82 MB / 3.16 GB, free: 295.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/6.122, allocations: 258.2 kB / 3.16 GB, free: 295.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/9.425, allocations: 0 / 3.16 GB, free: 295.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)