Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.901/1.901, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001777/0.001777, allocations: 180.9 kB / 361.4 MB, free: 6.832 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.161/2.161, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001005/0.001005, allocations: 97.45 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.44e-05, allocations: 0 / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.084, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.175/8.26, allocations: 2.071 GB / 3.035 GB, free: 43.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/8.26, allocations: 82.77 kB / 3.035 GB, free: 43.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9504/9.211, allocations: 61.36 MB / 3.095 GB, free: 319.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/9.211, allocations: 0 / 3.095 GB, free: 319.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001678/9.211, allocations: 23.22 kB / 3.095 GB, free: 319.8 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003898/9.215, allocations: 1.032 MB / 3.096 GB, free: 319.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.336e-05/9.215, allocations: 9.531 kB / 3.096 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/9.217, allocations: 184.1 kB / 3.097 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/9.219, allocations: 0.6078 MB / 3.097 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/9.219, allocations: 24.67 kB / 3.097 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/9.219, allocations: 44.16 kB / 3.097 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002184/9.221, allocations: 0.9618 MB / 3.098 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/9.223, allocations: 0.709 MB / 3.099 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/9.223, allocations: 0 / 3.099 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/9.223, allocations: 2.562 kB / 3.099 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/9.223, allocations: 21.59 kB / 3.099 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/9.228, allocations: 2.229 MB / 3.101 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/9.229, allocations: 0.6462 MB / 3.102 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/9.229, allocations: 240.4 kB / 3.102 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/9.229, allocations: 31.12 kB / 3.102 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006877/9.23, allocations: 389.6 kB / 3.102 GB, free: 318 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.095e-06/9.23, allocations: 7.562 kB / 3.102 GB, free: 318 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001884/9.232, allocations: 0.6287 MB / 3.103 GB, free: 317.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/9.232, allocations: 250.2 kB / 3.103 GB, free: 317.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/9.233, allocations: 494.8 kB / 3.104 GB, free: 317.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/9.233, allocations: 29.89 kB / 3.104 GB, free: 317.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/9.233, allocations: 369.7 kB / 3.104 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/9.234, allocations: 222.5 kB / 3.104 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/9.234, allocations: 2 kB / 3.104 GB, free: 317.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002292/9.234, allocations: 374 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/9.235, allocations: 188.9 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/9.235, allocations: 292.2 kB / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/9.236, allocations: 240.9 kB / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/9.236, allocations: 0 / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00191/9.238, allocations: 0.6395 MB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/9.238, allocations: 6.125 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/9.238, allocations: 1.031 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/9.238, allocations: 89.45 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/9.239, allocations: 132.3 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/9.241, allocations: 1.467 MB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/9.242, allocations: 61.06 kB / 3.108 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/9.242, allocations: 23.14 kB / 3.108 GB, free: 315.4 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 (72): * Single equations (assignments): 71 * 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.0002268/9.242, allocations: 128.6 kB / 3.108 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001908/9.244, allocations: 0.6344 MB / 3.108 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/9.244, allocations: 73.05 kB / 3.108 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/9.247, allocations: 0.9002 MB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/9.247, allocations: 9.672 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/9.247, allocations: 1.609 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/9.247, allocations: 4.078 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/9.249, allocations: 0.7422 MB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/9.249, allocations: 3.953 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/9.249, allocations: 144.4 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/9.25, allocations: 82.98 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/9.25, allocations: 15.62 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/9.252, allocations: 1.49 MB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/9.252, allocations: 4.156 kB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/9.254, allocations: 0.7467 MB / 3.113 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/9.254, allocations: 275.3 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/9.254, allocations: 5.469 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/9.255, allocations: 54.86 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/9.255, allocations: 56.52 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/9.255, allocations: 29.77 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007425/9.256, allocations: 401.4 kB / 3.113 GB, free: 313.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.443e-06/9.256, allocations: 1.219 kB / 3.113 GB, free: 313.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001389/9.257, allocations: 297.7 kB / 3.114 GB, free: 313.2 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 (81): * Single equations (assignments): 78 * 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.005377/9.263, allocations: 2.235 MB / 3.116 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001945/9.265, allocations: 0.6359 MB / 3.116 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/9.265, allocations: 1.406 kB / 3.116 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/9.266, allocations: 446.7 kB / 3.117 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/9.268, allocations: 224 kB / 3.117 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/9.275, allocations: 1.427 MB / 3.118 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/9.277, allocations: 1.013 MB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001852/9.279, allocations: 257 kB / 3.12 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/9.28, allocations: 335.9 kB / 3.12 GB, free: 311 MB / 0.948 GB Notification: Performance of SimCode: time 1.904e-06/9.28, allocations: 0 / 3.12 GB, free: 311 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09025/9.37, allocations: 22.63 MB / 3.142 GB, free: 309.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/9.37, allocations: 211 kB / 3.142 GB, free: 309.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/12.64, allocations: 0 / 3.142 GB, free: 309.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)