Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 179.6 kB / 316.3 MB, free: 3.25 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.584/1.584, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008796/0.0008797, allocations: 90.41 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2214, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.926/6.147, allocations: 2.191 GB / 3.076 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/6.148, allocations: 92.02 kB / 3.077 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1193/6.267, allocations: 57.16 MB / 3.132 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/6.267, allocations: 0 / 3.132 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.006e-05/6.267, allocations: 24 kB / 3.132 GB, free: 122.9 MB / 0.8698 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.001652/6.269, allocations: 1.047 MB / 3.133 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/6.269, allocations: 8.031 kB / 3.133 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/6.27, allocations: 198.4 kB / 3.134 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/6.271, allocations: 0.6076 MB / 3.134 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/6.271, allocations: 28 kB / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/6.271, allocations: 47.94 kB / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/6.272, allocations: 0.9953 MB / 3.135 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/6.273, allocations: 0.7272 MB / 3.136 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/6.273, allocations: 7.938 kB / 3.136 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/6.273, allocations: 3.953 kB / 3.136 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/6.273, allocations: 20 kB / 3.136 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/6.276, allocations: 2.266 MB / 3.138 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/6.277, allocations: 0.6618 MB / 3.139 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/6.277, allocations: 251.1 kB / 3.139 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/6.278, allocations: 32.73 kB / 3.139 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/6.278, allocations: 407.8 kB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/6.278, allocations: 0 / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001427/6.28, allocations: 0.673 MB / 3.14 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/6.28, allocations: 240.1 kB / 3.14 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/6.28, allocations: 0.4945 MB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/6.28, allocations: 29.7 kB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/6.28, allocations: 384.1 kB / 3.141 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/6.281, allocations: 236.4 kB / 3.141 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/6.281, allocations: 0 / 3.141 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/6.281, allocations: 374.8 kB / 3.142 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/6.281, allocations: 197.5 kB / 3.142 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/6.281, allocations: 315.4 kB / 3.142 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/6.282, allocations: 244.5 kB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/6.282, allocations: 4 kB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001233/6.283, allocations: 0.6642 MB / 3.143 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/6.283, allocations: 8 kB / 3.143 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/6.283, allocations: 8.047 kB / 3.143 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/6.284, allocations: 76.78 kB / 3.143 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/6.284, allocations: 151.8 kB / 3.143 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/6.286, allocations: 1.461 MB / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/6.286, allocations: 63.59 kB / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/6.286, allocations: 27.98 kB / 3.145 GB, free: 109.5 MB / 0.8698 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.0001722/6.286, allocations: 118.6 kB / 3.145 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001266/6.288, allocations: 0.6757 MB / 3.146 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/6.288, allocations: 71.16 kB / 3.146 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/6.29, allocations: 0.9345 MB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/6.29, allocations: 11.95 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/6.29, allocations: 3.984 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/6.29, allocations: 7.969 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/6.292, allocations: 1.71 MB / 3.148 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/6.292, allocations: 0 / 3.148 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/6.293, allocations: 151.8 kB / 3.149 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/6.293, allocations: 80.78 kB / 3.149 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/6.293, allocations: 11.98 kB / 3.149 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/6.295, allocations: 1.485 MB / 3.15 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/6.295, allocations: 0 / 3.15 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/6.296, allocations: 0.8378 MB / 3.151 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/6.296, allocations: 283.8 kB / 3.151 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/6.296, allocations: 3.984 kB / 3.151 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/6.297, allocations: 51.95 kB / 3.151 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/6.297, allocations: 60.69 kB / 3.151 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/6.297, allocations: 27.98 kB / 3.151 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004442/6.298, allocations: 422.8 kB / 3.152 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/6.298, allocations: 4 kB / 3.152 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000957/6.299, allocations: 299.2 kB / 3.152 GB, free: 102.1 MB / 0.8698 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.002863/6.301, allocations: 2.324 MB / 3.154 GB, free: 99.78 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001096/6.303, allocations: 0.6667 MB / 3.155 GB, free: 99.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/6.303, allocations: 0 / 3.155 GB, free: 99.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/6.303, allocations: 452.7 kB / 3.155 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/6.304, allocations: 217.7 kB / 3.156 GB, free: 98.44 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/6.308, allocations: 1.478 MB / 3.157 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/6.309, allocations: 1.027 MB / 3.158 GB, free: 95.87 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008827/6.31, allocations: 253.9 kB / 3.158 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/6.31, allocations: 355.3 kB / 3.159 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of SimCode: time 7.92e-07/6.31, allocations: 3.938 kB / 3.159 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/6.356, allocations: 23.09 MB / 3.181 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001089/6.357, allocations: 213.6 kB / 3.181 GB, free: 71.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/9.277, allocations: 4 kB / 3.181 GB, free: 71.98 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)