Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.654/1.654, allocations: 285.4 MB / 298 MB, free: 5.984 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.001004/0.001004, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.662/1.662, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.001017/0.001017, allocations: 91.69 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.685e-05/4.704e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.934, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.652/6.586, allocations: 2.072 GB / 3.042 GB, free: 22.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/6.586, allocations: 94.56 kB / 3.043 GB, free: 22.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7239/7.31, allocations: 57.3 MB / 3.099 GB, free: 329 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.946e-06/7.31, allocations: 0 / 3.099 GB, free: 329 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.805e-05/7.31, allocations: 24.56 kB / 3.099 GB, free: 329 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00227/7.313, allocations: 1.027 MB / 3.1 GB, free: 328.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/7.313, allocations: 9.094 kB / 3.1 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/7.313, allocations: 123.2 kB / 3.1 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/7.314, allocations: 186.3 kB / 3.1 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/7.315, allocations: 0.6012 MB / 3.1 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/7.315, allocations: 56.84 kB / 3.101 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/7.315, allocations: 72.41 kB / 3.101 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/7.317, allocations: 0.7897 MB / 3.101 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/7.317, allocations: 5.406 kB / 3.101 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/7.317, allocations: 35.47 kB / 3.101 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/7.317, allocations: 22.48 kB / 3.101 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/7.318, allocations: 1.007 MB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/7.322, allocations: 2.32 MB / 3.105 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/7.323, allocations: 0.7516 MB / 3.105 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/7.323, allocations: 251.3 kB / 3.106 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/7.323, allocations: 33.22 kB / 3.106 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/7.324, allocations: 399.1 kB / 3.106 GB, free: 325.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/7.324, allocations: 7.938 kB / 3.106 GB, free: 325.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.0015/7.325, allocations: 0.6549 MB / 3.107 GB, free: 324.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/7.325, allocations: 243.9 kB / 3.107 GB, free: 324.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/7.326, allocations: 0.5523 MB / 3.107 GB, free: 324.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/7.326, allocations: 41.3 kB / 3.108 GB, free: 324.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/7.327, allocations: 357.2 kB / 3.108 GB, free: 324 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/7.327, allocations: 236.4 kB / 3.108 GB, free: 323.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/7.327, allocations: 14.44 kB / 3.108 GB, free: 323.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/7.327, allocations: 378.2 kB / 3.108 GB, free: 323.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/7.327, allocations: 186.5 kB / 3.109 GB, free: 323.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/7.328, allocations: 300.8 kB / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/7.328, allocations: 238.6 kB / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/7.328, allocations: 0 / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001399/7.329, allocations: 0.6621 MB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/7.329, allocations: 5 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/7.329, allocations: 1.031 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/7.33, allocations: 91.19 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/7.331, allocations: 132.3 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/7.332, allocations: 1.523 MB / 3.111 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/7.333, allocations: 75.2 kB / 3.112 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/7.333, allocations: 24.08 kB / 3.112 GB, free: 321.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.0001562/7.333, allocations: 144.6 kB / 3.112 GB, free: 321.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/7.333, allocations: 78.02 kB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/7.335, allocations: 0.9219 MB / 3.113 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/7.335, allocations: 8.188 kB / 3.113 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/7.335, allocations: 1.438 kB / 3.113 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/7.335, allocations: 3.141 kB / 3.113 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/7.338, allocations: 1.806 MB / 3.114 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/7.338, allocations: 0 / 3.114 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/7.338, allocations: 141.9 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/7.339, allocations: 83.33 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/7.339, allocations: 19.02 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/7.34, allocations: 1.549 MB / 3.116 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/7.341, allocations: 0 / 3.116 GB, free: 318.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/7.342, allocations: 0.8495 MB / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/7.342, allocations: 271.3 kB / 3.117 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/7.343, allocations: 20.28 kB / 3.117 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/7.343, allocations: 68.97 kB / 3.117 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/7.343, allocations: 59.42 kB / 3.117 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/7.343, allocations: 33.06 kB / 3.117 GB, free: 317.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005736/7.344, allocations: 460.2 kB / 3.118 GB, free: 317.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/7.344, allocations: 0 / 3.118 GB, free: 317.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001047/7.345, allocations: 326.1 kB / 3.118 GB, free: 317.6 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 (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.003351/7.348, allocations: 2.264 MB / 3.12 GB, free: 316.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001258/7.35, allocations: 0.6628 MB / 3.121 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/7.35, allocations: 0.9688 kB / 3.121 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/7.35, allocations: 459.8 kB / 3.122 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/7.351, allocations: 240 kB / 3.122 GB, free: 315.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/7.355, allocations: 1.486 MB / 3.123 GB, free: 315.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/7.356, allocations: 1.002 MB / 3.124 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008809/7.357, allocations: 253.1 kB / 3.124 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/7.357, allocations: 342.1 kB / 3.125 GB, free: 314.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/7.357, allocations: 0 / 3.125 GB, free: 314.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/7.407, allocations: 30 MB / 3.154 GB, free: 301.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/7.407, allocations: 261.7 kB / 3.154 GB, free: 301 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/10.42, allocations: 0 / 3.154 GB, free: 301 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)