Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.67/1.67, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001032/0.001032, allocations: 180 kB / 371.8 MB, free: 10.27 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.607/1.607, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009692/0.000969, allocations: 94.88 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004201, allocations: 14.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2412, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003884/0.2451, allocations: 3.484 MB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7393/0.9844, allocations: 127.2 MB / 1.107 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008297/0.9853, allocations: 18.95 kB / 1.107 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.9858, allocations: 70.45 kB / 1.107 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.9873, allocations: 426.2 kB / 1.108 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.9894, allocations: 0.5927 MB / 1.108 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.9907, allocations: 0.7378 MB / 1.109 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/0.9915, allocations: 449.6 kB / 1.109 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.9922, allocations: 306.6 kB / 1.11 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.9926, allocations: 293.4 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.9927, allocations: 20.62 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007482/0.9935, allocations: 244.4 kB / 1.11 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.9937, allocations: 160.5 kB / 1.11 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.994, allocations: 179.9 kB / 1.11 GB, free: 17.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.9956, allocations: 1.017 MB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9956, allocations: 0 / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9956, allocations: 0 / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.9956, allocations: 4 kB / 1.111 GB, free: 17.79 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00242/0.9981, allocations: 1.115 MB / 1.113 GB, free: 17.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.9981, allocations: 9.906 kB / 1.113 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.9983, allocations: 127.8 kB / 1.113 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.9993, allocations: 185.2 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1, allocations: 0.6741 MB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/1.001, allocations: 60.62 kB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.001, allocations: 72.69 kB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/1.002, allocations: 0.8521 MB / 1.114 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.002, allocations: 1.062 kB / 1.114 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/1.002, allocations: 37.89 kB / 1.114 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.002, allocations: 19.09 kB / 1.115 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/1.004, allocations: 1.059 MB / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/1.008, allocations: 2.389 MB / 1.118 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.01, allocations: 0.8008 MB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.274e-05/1.01, allocations: 34.06 kB / 1.119 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007737/1.01, allocations: 435 kB / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/1.01, allocations: 0 / 1.119 GB, free: 15.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003015/1.013, allocations: 1.086 MB / 1.12 GB, free: 15.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/1.014, allocations: 196.4 kB / 1.12 GB, free: 15.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/1.014, allocations: 0.5667 MB / 1.121 GB, free: 14.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/1.015, allocations: 38.08 kB / 1.121 GB, free: 14.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.015, allocations: 374 kB / 1.121 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.015, allocations: 241.1 kB / 1.122 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/1.015, allocations: 10 kB / 1.122 GB, free: 14.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.015, allocations: 380.5 kB / 1.122 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/1.016, allocations: 217.5 kB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/1.016, allocations: 315.2 kB / 1.122 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/1.017, allocations: 272.8 kB / 1.123 GB, free: 14.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.017, allocations: 2.375 kB / 1.123 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001618/1.018, allocations: 0.7233 MB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.018, allocations: 5.312 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.018, allocations: 6.906 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/1.019, allocations: 88.25 kB / 1.123 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/1.019, allocations: 135.8 kB / 1.124 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/1.021, allocations: 1.534 MB / 1.125 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/1.022, allocations: 88.55 kB / 1.125 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/1.022, allocations: 29.03 kB / 1.125 GB, free: 12.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0005907/1.023, allocations: 246.9 kB / 1.125 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.023, allocations: 75.3 kB / 1.126 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.025, allocations: 1.024 MB / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.025, allocations: 10.7 kB / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.025, allocations: 0 / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.026, allocations: 4.312 kB / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/1.029, allocations: 1.881 MB / 1.128 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.029, allocations: 0 / 1.128 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.03, allocations: 144.5 kB / 1.129 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/1.03, allocations: 85.8 kB / 1.129 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/1.03, allocations: 24.77 kB / 1.129 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/1.032, allocations: 1.554 MB / 1.13 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.032, allocations: 9.891 kB / 1.13 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.034, allocations: 0.9223 MB / 1.131 GB, free: 9.906 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/1.035, allocations: 265.6 kB / 1.131 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.035, allocations: 17.22 kB / 1.131 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/1.036, allocations: 67.31 kB / 1.131 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.036, allocations: 61.88 kB / 1.131 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/1.036, allocations: 31.39 kB / 1.131 GB, free: 9.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005697/1.036, allocations: 413.6 kB / 1.132 GB, free: 9.527 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.036, allocations: 4 kB / 1.132 GB, free: 9.523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009486/1.037, allocations: 273.5 kB / 1.132 GB, free: 9.465 MB / 0.698 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.003406/1.041, allocations: 1.917 MB / 1.134 GB, free: 8.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.042, allocations: 0.7283 MB / 1.135 GB, free: 8.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.043, allocations: 1.656 kB / 1.135 GB, free: 8.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/1.043, allocations: 0.491 MB / 1.135 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/1.045, allocations: 238.3 kB / 1.135 GB, free: 7.965 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.058, allocations: 5.014 MB / 1.14 GB, free: 5.523 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.059, allocations: 1.023 MB / 1.141 GB, free: 4.676 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001144/1.06, allocations: 255.7 kB / 1.142 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/1.061, allocations: 346.9 kB / 1.142 GB, free: 4.508 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.061, allocations: 3.938 kB / 1.142 GB, free: 4.504 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/1.124, allocations: 19.44 MB / 1.161 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/1.125, allocations: 295.4 kB / 1.161 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.929, allocations: 0 / 1.161 GB, free: 10.82 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)