Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.968/1.968, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001521/0.001521, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.915/1.915, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009257/0.0009258, allocations: 88.31 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.209e-05, allocations: 0 / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.267, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.252/8.519, allocations: 2.073 GB / 3.037 GB, free: 42.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/8.519, allocations: 83.86 kB / 3.037 GB, free: 42.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/9.894, allocations: 91.62 MB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.196e-06/9.895, allocations: 3.5 kB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001599/9.895, allocations: 28.06 kB / 3.127 GB, free: 318.5 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003995/9.899, allocations: 1.371 MB / 3.128 GB, free: 317.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/9.899, allocations: 10.06 kB / 3.128 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/9.901, allocations: 242.1 kB / 3.128 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/9.903, allocations: 0.7731 MB / 3.129 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/9.903, allocations: 49.47 kB / 3.129 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/9.903, allocations: 78.22 kB / 3.129 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00425/9.908, allocations: 1.344 MB / 3.13 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/9.911, allocations: 1.141 MB / 3.132 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/9.911, allocations: 0 / 3.132 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/9.911, allocations: 2.062 kB / 3.132 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/9.911, allocations: 33.16 kB / 3.132 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/9.922, allocations: 3.357 MB / 3.135 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/9.924, allocations: 0.8621 MB / 3.136 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/9.926, allocations: 347.7 kB / 3.136 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/9.926, allocations: 52.81 kB / 3.136 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/9.927, allocations: 0.5284 MB / 3.137 GB, free: 316.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 5.029e-06/9.927, allocations: 0 / 3.137 GB, free: 316.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.003467/9.931, allocations: 0.9105 MB / 3.137 GB, free: 315.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/9.931, allocations: 254.7 kB / 3.138 GB, free: 315.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/9.933, allocations: 0.6032 MB / 3.138 GB, free: 315.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/9.933, allocations: 26.92 kB / 3.138 GB, free: 315.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/9.934, allocations: 0.5615 MB / 3.139 GB, free: 314.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/9.934, allocations: 328.5 kB / 3.139 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/9.934, allocations: 5 kB / 3.139 GB, free: 314.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002262/9.934, allocations: 393.8 kB / 3.14 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/9.935, allocations: 301.5 kB / 3.14 GB, free: 313.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/9.936, allocations: 419.6 kB / 3.14 GB, free: 313.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/9.937, allocations: 371 kB / 3.141 GB, free: 313.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/9.937, allocations: 1.312 kB / 3.141 GB, free: 313.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003275/9.941, allocations: 0.9599 MB / 3.142 GB, free: 313.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/9.941, allocations: 4.188 kB / 3.142 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/9.941, allocations: 1.406 kB / 3.142 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007844/9.942, allocations: 87.23 kB / 3.142 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/9.943, allocations: 214.3 kB / 3.142 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/9.946, allocations: 1.464 MB / 3.143 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/9.948, allocations: 78.44 kB / 3.143 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/9.948, allocations: 43.69 kB / 3.143 GB, free: 311.6 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 (116): * Single equations (assignments): 115 * 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.0004113/9.948, allocations: 121.5 kB / 3.144 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003785/9.952, allocations: 0.9202 MB / 3.144 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/9.953, allocations: 93.78 kB / 3.144 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/9.957, allocations: 1.291 MB / 3.146 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/9.957, allocations: 11.03 kB / 3.146 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/9.957, allocations: 0 / 3.146 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/9.957, allocations: 7.969 kB / 3.146 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/9.964, allocations: 2.333 MB / 3.148 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/9.964, allocations: 1.5 kB / 3.148 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/9.965, allocations: 198.9 kB / 3.148 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/9.966, allocations: 82.16 kB / 3.148 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/9.966, allocations: 19.72 kB / 3.148 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/9.968, allocations: 1.49 MB / 3.15 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/9.968, allocations: 7.891 kB / 3.15 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/9.971, allocations: 1.073 MB / 3.151 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/9.972, allocations: 354.8 kB / 3.151 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/9.972, allocations: 3.953 kB / 3.151 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/9.973, allocations: 52.3 kB / 3.151 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/9.974, allocations: 77.44 kB / 3.151 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/9.974, allocations: 38.05 kB / 3.151 GB, free: 306.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001133/9.975, allocations: 0.5064 MB / 3.152 GB, free: 306 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/9.975, allocations: 0 / 3.152 GB, free: 306 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002221/9.977, allocations: 401.4 kB / 3.152 GB, free: 305.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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.005706/9.983, allocations: 2.572 MB / 3.155 GB, free: 304.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002902/9.986, allocations: 0.9082 MB / 3.156 GB, free: 304 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/9.986, allocations: 0 / 3.156 GB, free: 304 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/9.987, allocations: 0.5581 MB / 3.156 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/9.989, allocations: 228.5 kB / 3.156 GB, free: 303.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008226/9.997, allocations: 2 MB / 3.158 GB, free: 302.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/9.998, allocations: 1.19 MB / 3.16 GB, free: 301.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001819/10, allocations: 294.2 kB / 3.16 GB, free: 301.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/10, allocations: 0.5359 MB / 3.16 GB, free: 301.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/10, allocations: 0 / 3.16 GB, free: 301.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08474/10.09, allocations: 28.6 MB / 3.188 GB, free: 281.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/10.09, allocations: 195.1 kB / 3.188 GB, free: 281.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/13.81, allocations: 0 / 3.188 GB, free: 281.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)