Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 189.6 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.6 MB / 0.5088 GB, free: 3.441 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5465, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004954/0.5515, allocations: 3.594 MB / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003998/0.5556, allocations: 2.379 MB / 0.7296 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.556, allocations: 15.94 kB / 0.7296 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.5562, allocations: 47.48 kB / 0.7297 GB, free: 7.25 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5575, allocations: 326 kB / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.5581, allocations: 295.7 kB / 0.7303 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.08946/0.6476, allocations: 7.309 MB / 0.7374 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/0.6483, allocations: 365.6 kB / 0.7378 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5317/1.18, allocations: 35.77 MB / 0.7727 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/1.181, allocations: 334.4 kB / 0.773 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/1.181, allocations: 32 kB / 0.7731 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/1.181, allocations: 36 kB / 0.7731 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/1.181, allocations: 127.4 kB / 0.7732 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/1.182, allocations: 318.2 kB / 0.7735 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008322/1.183, allocations: 0.7708 MB / 0.7743 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.183, allocations: 0 / 0.7743 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/1.183, allocations: 0 / 0.7743 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.642e-05/1.183, allocations: 0 / 0.7743 GB, free: 11.76 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002449/1.185, allocations: 0.9781 MB / 0.7752 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.185, allocations: 12.03 kB / 0.7752 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/1.185, allocations: 76 kB / 0.7753 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/1.186, allocations: 471 kB / 0.7758 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/1.186, allocations: 164.7 kB / 0.7759 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/1.186, allocations: 63.94 kB / 0.776 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.188, allocations: 0.6383 MB / 0.7766 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.188, allocations: 3.938 kB / 0.7766 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/1.188, allocations: 28 kB / 0.7766 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/1.188, allocations: 16 kB / 0.7766 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.19, allocations: 0.5072 MB / 0.7771 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/1.192, allocations: 1.709 MB / 0.7788 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/1.196, allocations: 0.9363 MB / 0.7797 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/1.197, allocations: 327.2 kB / 0.78 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/1.197, allocations: 15.97 kB / 0.78 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/1.197, allocations: 42.56 kB / 0.7801 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/1.197, allocations: 0 / 0.7801 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002719/1.2, allocations: 0.8186 MB / 0.7809 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/1.2, allocations: 140.4 kB / 0.781 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/1.2, allocations: 337.7 kB / 0.7813 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/1.2, allocations: 33.7 kB / 0.7814 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.201, allocations: 240.9 kB / 0.7816 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.201, allocations: 240.4 kB / 0.7818 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.201, allocations: 122.2 kB / 0.782 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.201, allocations: 350.8 kB / 0.7823 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.202, allocations: 205.2 kB / 0.7825 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/1.203, allocations: 261.8 kB / 0.7827 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/1.204, allocations: 499.4 kB / 0.7832 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.205, allocations: 7.938 kB / 0.7832 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001764/1.206, allocations: 0.5943 MB / 0.7838 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.206, allocations: 4 kB / 0.7838 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.206, allocations: 4 kB / 0.7838 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.206, allocations: 4 kB / 0.7838 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/1.207, allocations: 151.8 kB / 0.784 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.207, allocations: 4 kB / 0.784 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/1.208, allocations: 55.5 kB / 0.784 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.208, allocations: 27.97 kB / 0.784 GB, free: 1.387 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002648/1.208, allocations: 197.6 kB / 0.7842 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.208, allocations: 55.34 kB / 0.7843 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/1.211, allocations: 0.9855 MB / 0.7852 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.211, allocations: 12 kB / 0.7853 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.211, allocations: 0 / 0.7853 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.211, allocations: 11.91 kB / 0.7853 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.212, allocations: 0.719 MB / 0.786 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.212, allocations: 8 kB / 0.786 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/1.213, allocations: 203.7 kB / 0.7862 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/1.213, allocations: 4 kB / 0.7862 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/1.213, allocations: 27.98 kB / 0.7862 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.213, allocations: 4 kB / 0.7862 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.213, allocations: 4 kB / 0.7862 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/1.215, allocations: 1.138 MB / 0.7873 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/1.215, allocations: 220 kB / 0.7875 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/1.216, allocations: 16 kB / 0.7875 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/1.216, allocations: 47.97 kB / 0.7876 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/1.216, allocations: 63.91 kB / 0.7876 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/1.216, allocations: 31.98 kB / 0.7877 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002387/1.217, allocations: 239.2 kB / 0.7879 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.217, allocations: 0 / 0.7879 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005908/1.217, allocations: 155.5 kB / 0.7881 GB, free: 13.17 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/1.217, allocations: 127.1 kB / 0.7882 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.219, allocations: 0.6156 MB / 0.7888 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.219, allocations: 0 / 0.7888 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.22, allocations: 420.8 kB / 0.7892 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/1.221, allocations: 57.56 kB / 0.7892 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/1.223, allocations: 1.555 MB / 0.7908 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/1.224, allocations: 0.9141 MB / 0.7916 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004716/1.224, allocations: 108.8 kB / 0.7917 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.225, allocations: 83.38 kB / 0.7918 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/1.225, allocations: 0 / 0.7918 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.009868/1.234, allocations: 4.971 MB / 0.7967 GB, free: 4.281 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)