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.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001274/0.001274, allocations: 179.8 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001227/0.001227, allocations: 85.38 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 10.38 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 106.3 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.268, allocations: 2.191 GB / 3.091 GB, free: 29.24 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/5.268, allocations: 99.94 kB / 3.091 GB, free: 29.14 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7165/5.985, allocations: 58.3 MB / 3.148 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.845e-06/5.985, allocations: 0 / 3.148 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000138/5.985, allocations: 27.03 kB / 3.148 GB, free: 312.8 MB / 0.8855 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.00329/5.988, allocations: 1.156 MB / 3.149 GB, free: 312 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/5.988, allocations: 9.5 kB / 3.149 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004232/5.989, allocations: 129.8 kB / 3.149 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/5.99, allocations: 187.3 kB / 3.15 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/5.991, allocations: 0.6209 MB / 3.15 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/5.992, allocations: 61.38 kB / 3.15 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/5.992, allocations: 75.69 kB / 3.15 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/5.993, allocations: 0.87 MB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/5.994, allocations: 4 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/5.994, allocations: 29.69 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/5.994, allocations: 20.72 kB / 3.151 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/5.996, allocations: 1.096 MB / 3.152 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/6, allocations: 2.423 MB / 3.155 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/6.002, allocations: 0.7555 MB / 3.155 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/6.002, allocations: 37.44 kB / 3.155 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007669/6.003, allocations: 441.9 kB / 3.156 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.338e-06/6.003, allocations: 0 / 3.156 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.003097/6.006, allocations: 1.136 MB / 3.157 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/6.006, allocations: 245.3 kB / 3.157 GB, free: 310.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/6.007, allocations: 0.5755 MB / 3.158 GB, free: 310 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/6.007, allocations: 46.2 kB / 3.158 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/6.007, allocations: 376.2 kB / 3.158 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/6.008, allocations: 251.4 kB / 3.158 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/6.008, allocations: 12.19 kB / 3.158 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001367/6.008, allocations: 380 kB / 3.159 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/6.008, allocations: 231.3 kB / 3.159 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/6.009, allocations: 342.2 kB / 3.159 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/6.009, allocations: 280.8 kB / 3.16 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/6.009, allocations: 0 / 3.16 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001874/6.011, allocations: 0.7579 MB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/6.011, allocations: 7.906 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/6.011, allocations: 0 / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/6.012, allocations: 82.41 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/6.013, allocations: 153.8 kB / 3.161 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/6.015, allocations: 1.527 MB / 3.162 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/6.016, allocations: 92.03 kB / 3.162 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/6.016, allocations: 32.86 kB / 3.162 GB, free: 307.7 MB / 0.8855 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 () * Number of clocked 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.0006368/6.016, allocations: 250.6 kB / 3.162 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/6.017, allocations: 76.41 kB / 3.162 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/6.019, allocations: 1.05 MB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/6.019, allocations: 6.906 kB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/6.019, allocations: 6.766 kB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/6.019, allocations: 3.797 kB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/6.023, allocations: 1.931 MB / 3.165 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/6.023, allocations: 0 / 3.165 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/6.023, allocations: 157.5 kB / 3.166 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/6.024, allocations: 80.23 kB / 3.166 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/6.024, allocations: 22.23 kB / 3.166 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/6.026, allocations: 1.552 MB / 3.167 GB, free: 305.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/6.026, allocations: 0 / 3.167 GB, free: 305.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/6.028, allocations: 0.9421 MB / 3.168 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/6.028, allocations: 285.7 kB / 3.168 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/6.029, allocations: 18.47 kB / 3.168 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/6.029, allocations: 66.95 kB / 3.168 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/6.029, allocations: 66.89 kB / 3.169 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/6.029, allocations: 30.7 kB / 3.169 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007957/6.03, allocations: 487.1 kB / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/6.03, allocations: 0 / 3.169 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00146/6.032, allocations: 335.9 kB / 3.169 GB, free: 305.1 MB / 0.8855 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) * Number of clocked states: 0 () * 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.004155/6.036, allocations: 2.411 MB / 3.172 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00162/6.038, allocations: 0.7501 MB / 3.172 GB, free: 303.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/6.038, allocations: 4.125 kB / 3.172 GB, free: 303.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008409/6.038, allocations: 0.4961 MB / 3.173 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/6.04, allocations: 231.1 kB / 3.173 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/6.05, allocations: 5.051 MB / 3.178 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/6.051, allocations: 1.025 MB / 3.179 GB, free: 299.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0011/6.052, allocations: 259.8 kB / 3.179 GB, free: 299.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/6.053, allocations: 355.9 kB / 3.18 GB, free: 299.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.407e-05/6.053, allocations: 0 / 3.18 GB, free: 299.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/6.11, allocations: 29.12 MB / 3.208 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/6.11, allocations: 297.3 kB / 3.208 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/9.445, allocations: 0 / 3.208 GB, free: 272.5 MB / 0.8855 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)