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.775/1.775, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001389/0.001389, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.854/1.854, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 105.7 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005387, allocations: 14.8 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2955, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.577/5.873, allocations: 2.072 GB / 3.051 GB, free: 209.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/5.873, allocations: 99.69 kB / 3.051 GB, free: 209.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1578/6.031, allocations: 57.59 MB / 3.107 GB, free: 160.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/6.031, allocations: 7.922 kB / 3.107 GB, free: 160.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001087/6.031, allocations: 24 kB / 3.107 GB, free: 160.5 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.002712/6.034, allocations: 1.138 MB / 3.109 GB, free: 159.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/6.034, allocations: 8.031 kB / 3.109 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003073/6.034, allocations: 121.9 kB / 3.109 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/6.035, allocations: 185.1 kB / 3.109 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/6.037, allocations: 0.6036 MB / 3.109 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/6.037, allocations: 56.17 kB / 3.109 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/6.037, allocations: 73.25 kB / 3.11 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/6.038, allocations: 0.8225 MB / 3.11 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/6.038, allocations: 0 / 3.11 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/6.039, allocations: 32.62 kB / 3.11 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/6.039, allocations: 20 kB / 3.11 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/6.04, allocations: 1.053 MB / 3.111 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/6.044, allocations: 2.324 MB / 3.114 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/6.045, allocations: 0.7894 MB / 3.114 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/6.045, allocations: 32.59 kB / 3.115 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006692/6.046, allocations: 421.7 kB / 3.115 GB, free: 153.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/6.046, allocations: 0 / 3.115 GB, free: 153.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002703/6.049, allocations: 1.072 MB / 3.116 GB, free: 152.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/6.049, allocations: 243.8 kB / 3.116 GB, free: 151.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/6.05, allocations: 0.557 MB / 3.117 GB, free: 151.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/6.05, allocations: 37.7 kB / 3.117 GB, free: 151.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/6.05, allocations: 360.3 kB / 3.117 GB, free: 150.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/6.05, allocations: 232.6 kB / 3.117 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/6.05, allocations: 15.94 kB / 3.117 GB, free: 150.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001085/6.05, allocations: 382.7 kB / 3.118 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/6.051, allocations: 209.2 kB / 3.118 GB, free: 150 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/6.051, allocations: 319.7 kB / 3.118 GB, free: 149.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/6.052, allocations: 255.1 kB / 3.118 GB, free: 149.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/6.052, allocations: 4 kB / 3.118 GB, free: 149.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00155/6.053, allocations: 0.7042 MB / 3.119 GB, free: 148.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/6.053, allocations: 4 kB / 3.119 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/6.053, allocations: 0 / 3.119 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/6.054, allocations: 84.81 kB / 3.119 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/6.054, allocations: 135.8 kB / 3.119 GB, free: 148.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/6.056, allocations: 1.524 MB / 3.121 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/6.057, allocations: 83.33 kB / 3.121 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/6.057, allocations: 23.98 kB / 3.121 GB, free: 146.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 () * Number of clocked 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.0004496/6.057, allocations: 249.8 kB / 3.121 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/6.057, allocations: 75.39 kB / 3.121 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/6.059, allocations: 0.9779 MB / 3.122 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.06, allocations: 8 kB / 3.122 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/6.06, allocations: 0 / 3.122 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/6.06, allocations: 3.984 kB / 3.122 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/6.063, allocations: 1.865 MB / 3.124 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/6.063, allocations: 0 / 3.124 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/6.063, allocations: 131.8 kB / 3.124 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/6.064, allocations: 84.77 kB / 3.124 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/6.064, allocations: 19.98 kB / 3.124 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/6.065, allocations: 1.567 MB / 3.126 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/6.065, allocations: 0 / 3.126 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/6.067, allocations: 0.8868 MB / 3.127 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/6.067, allocations: 279.8 kB / 3.127 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/6.068, allocations: 20.06 kB / 3.127 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/6.068, allocations: 59.95 kB / 3.127 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/6.068, allocations: 60.91 kB / 3.127 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/6.068, allocations: 31.92 kB / 3.127 GB, free: 140.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005997/6.069, allocations: 463 kB / 3.128 GB, free: 139.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.069, allocations: 0 / 3.128 GB, free: 139.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001143/6.07, allocations: 335.2 kB / 3.128 GB, free: 139.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) * Number of clocked states: 0 () * 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.003792/6.074, allocations: 2.366 MB / 3.13 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001441/6.075, allocations: 0.7088 MB / 3.131 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/6.075, allocations: 0 / 3.131 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/6.076, allocations: 480.2 kB / 3.131 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/6.077, allocations: 244.7 kB / 3.132 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/6.086, allocations: 4.828 MB / 3.136 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/6.086, allocations: 1.012 MB / 3.137 GB, free: 129.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008527/6.087, allocations: 249.8 kB / 3.138 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/6.088, allocations: 331.3 kB / 3.138 GB, free: 129.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.713e-06/6.088, allocations: 0 / 3.138 GB, free: 129.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/6.136, allocations: 28.31 MB / 3.165 GB, free: 101.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/6.137, allocations: 292 kB / 3.166 GB, free: 100.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/9.192, allocations: 0 / 3.166 GB, free: 100.8 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)