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 2.344/2.344, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001749/0.001749, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.505/2.505, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009715/0.0009716, allocations: 99.11 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.727e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.065, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.647/8.712, allocations: 2.071 GB / 3.035 GB, free: 44.22 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/8.713, allocations: 91.58 kB / 3.035 GB, free: 44.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.058/9.771, allocations: 56.47 MB / 3.091 GB, free: 319.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/9.771, allocations: 0 / 3.091 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.71e-05/9.771, allocations: 22.53 kB / 3.091 GB, free: 319.6 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.001883/9.773, allocations: 1.028 MB / 3.092 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/9.773, allocations: 10.95 kB / 3.092 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/9.774, allocations: 182.3 kB / 3.092 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/9.775, allocations: 0.5995 MB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/9.775, allocations: 29.69 kB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/9.775, allocations: 44.72 kB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/9.776, allocations: 0.9555 MB / 3.093 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/9.778, allocations: 0.687 MB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/9.778, allocations: 1.656 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/9.778, allocations: 1.656 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/9.778, allocations: 21.52 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/9.781, allocations: 2.184 MB / 3.096 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/9.782, allocations: 0.7112 MB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/9.783, allocations: 228.8 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/9.783, allocations: 34.12 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/9.783, allocations: 372.7 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/9.783, allocations: 0 / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001744/9.785, allocations: 0.622 MB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/9.785, allocations: 241.4 kB / 3.098 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/9.786, allocations: 498 kB / 3.099 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/9.786, allocations: 26.95 kB / 3.099 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/9.786, allocations: 372.4 kB / 3.099 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/9.787, allocations: 216.5 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/9.787, allocations: 3.125 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/9.787, allocations: 373.6 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/9.787, allocations: 177.3 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/9.787, allocations: 284.8 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/9.788, allocations: 224.3 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/9.788, allocations: 0 / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001579/9.789, allocations: 0.6246 MB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/9.789, allocations: 6 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/9.789, allocations: 6.828 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/9.79, allocations: 84.3 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/9.791, allocations: 143 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/9.792, allocations: 1.455 MB / 3.103 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/9.793, allocations: 58.38 kB / 3.103 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/9.793, allocations: 27.05 kB / 3.103 GB, free: 315.2 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.0001804/9.793, allocations: 117.1 kB / 3.103 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00139/9.795, allocations: 0.6256 MB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/9.795, allocations: 73.66 kB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/9.797, allocations: 0.8604 MB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/9.797, allocations: 11.41 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/9.797, allocations: 0.8125 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/9.797, allocations: 3.844 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/9.799, allocations: 1.644 MB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/9.8, allocations: 0 / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/9.8, allocations: 139 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/9.801, allocations: 84.09 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/9.801, allocations: 16.36 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/9.802, allocations: 1.475 MB / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/9.802, allocations: 4.625 kB / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/9.805, allocations: 0.797 MB / 3.108 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/9.805, allocations: 264.8 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/9.805, allocations: 4.109 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/9.806, allocations: 57.11 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/9.806, allocations: 61.33 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/9.806, allocations: 27.88 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007153/9.807, allocations: 397.3 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/9.807, allocations: 2.953 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001497/9.808, allocations: 293.7 kB / 3.109 GB, free: 312.8 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.004301/9.813, allocations: 2.279 MB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00146/9.814, allocations: 0.6235 MB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/9.814, allocations: 1.188 kB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/9.815, allocations: 435.2 kB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/9.817, allocations: 218.3 kB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/9.822, allocations: 1.415 MB / 3.114 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/9.823, allocations: 1.007 MB / 3.115 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001102/9.824, allocations: 244.6 kB / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/9.824, allocations: 328.9 kB / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/9.824, allocations: 0 / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/9.895, allocations: 22.26 MB / 3.138 GB, free: 309 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/9.895, allocations: 218.6 kB / 3.138 GB, free: 308.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/13.62, allocations: 0 / 3.138 GB, free: 308.7 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)