Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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 2.702/2.702, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001636/0.001636, allocations: 184.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.836/2.836, 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.001037/0.001037, allocations: 95.86 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.302e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.006, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.301/8.307, allocations: 2.072 GB / 3.037 GB, free: 42.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/8.307, allocations: 96.41 kB / 3.037 GB, free: 42.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.09/9.398, allocations: 57.53 MB / 3.093 GB, free: 319.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/9.398, allocations: 0 / 3.093 GB, free: 319.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001041/9.398, allocations: 20.78 kB / 3.093 GB, free: 319.2 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002541/9.4, allocations: 1.05 MB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/9.4, allocations: 9.812 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/9.402, allocations: 189.7 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/9.403, allocations: 0.6129 MB / 3.095 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/9.403, allocations: 33.62 kB / 3.095 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/9.404, allocations: 45.58 kB / 3.095 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/9.406, allocations: 0.997 MB / 3.096 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/9.408, allocations: 0.7284 MB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/9.408, allocations: 0 / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/9.408, allocations: 0.8438 kB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/9.408, allocations: 19.56 kB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/9.414, allocations: 2.269 MB / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/9.416, allocations: 0.6668 MB / 3.099 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/9.417, allocations: 247.2 kB / 3.1 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/9.417, allocations: 36.83 kB / 3.1 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009957/9.418, allocations: 402 kB / 3.1 GB, free: 317.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 5.52e-06/9.418, allocations: 2.188 kB / 3.1 GB, free: 317.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002549/9.42, allocations: 0.6671 MB / 3.101 GB, free: 317.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/9.42, allocations: 240.9 kB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/9.422, allocations: 0.5012 MB / 3.101 GB, free: 316.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/9.422, allocations: 29.58 kB / 3.101 GB, free: 316.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/9.422, allocations: 375.8 kB / 3.102 GB, free: 316.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/9.423, allocations: 243.8 kB / 3.102 GB, free: 316.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/9.423, allocations: 0 / 3.102 GB, free: 316.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001962/9.423, allocations: 383.5 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/9.423, allocations: 195.5 kB / 3.103 GB, free: 316.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/9.424, allocations: 304.7 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/9.424, allocations: 241.7 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/9.424, allocations: 2.25 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002249/9.427, allocations: 0.6741 MB / 3.104 GB, free: 316 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/9.427, allocations: 8.531 kB / 3.104 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/9.427, allocations: 0.7969 kB / 3.104 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/9.428, allocations: 86.44 kB / 3.104 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009107/9.429, allocations: 149.8 kB / 3.104 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/9.431, allocations: 1.45 MB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/9.432, allocations: 67.61 kB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/9.432, allocations: 29.05 kB / 3.105 GB, free: 314.7 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 (80): * Single equations (assignments): 79 * 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.0002359/9.432, allocations: 128.3 kB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00213/9.434, allocations: 0.6638 MB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/9.434, allocations: 78.41 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/9.438, allocations: 0.9373 MB / 3.107 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/9.438, allocations: 11 kB / 3.107 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/9.438, allocations: 0.7812 kB / 3.107 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/9.438, allocations: 4.688 kB / 3.107 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004823/9.442, allocations: 1.707 MB / 3.109 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/9.443, allocations: 2.656 kB / 3.109 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/9.443, allocations: 155.3 kB / 3.109 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/9.444, allocations: 83.06 kB / 3.109 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/9.444, allocations: 21.58 kB / 3.109 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/9.447, allocations: 1.478 MB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/9.447, allocations: 4.594 kB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/9.449, allocations: 0.8326 MB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006923/9.45, allocations: 281.5 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/9.45, allocations: 5 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/9.451, allocations: 50.39 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/9.451, allocations: 60.72 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/9.451, allocations: 31.19 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009707/9.452, allocations: 416.1 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/9.452, allocations: 3.469 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001648/9.454, allocations: 307.1 kB / 3.113 GB, free: 312.3 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 (87): * Single equations (assignments): 84 * 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.005426/9.459, allocations: 2.331 MB / 3.115 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001869/9.461, allocations: 0.6641 MB / 3.115 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/9.461, allocations: 0 / 3.115 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/9.462, allocations: 464 kB / 3.116 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/9.464, allocations: 220 kB / 3.116 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/9.47, allocations: 1.472 MB / 3.118 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/9.471, allocations: 1.019 MB / 3.119 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001443/9.472, allocations: 258.8 kB / 3.119 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007139/9.473, allocations: 356.2 kB / 3.119 GB, free: 310.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/9.473, allocations: 0 / 3.119 GB, free: 310.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09266/9.566, allocations: 23.08 MB / 3.142 GB, free: 308.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/9.566, allocations: 220.7 kB / 3.142 GB, free: 308.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/12.81, allocations: 2.391 kB / 3.142 GB, free: 308.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)