Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 248.7 MB / 256.2 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 175.5 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 89.22 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.14e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2128, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.13, allocations: 139.2 MB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/1.13, allocations: 82.83 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1087/1.239, allocations: 18.13 MB / 1.038 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.239, allocations: 4 kB / 1.038 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.926e-05/1.239, allocations: 12 kB / 1.038 GB, free: 0.8945 MB / 0.6511 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.00393/1.243, allocations: 0.8846 MB / 1.039 GB, free: 12 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.702e-05/1.243, allocations: 16.02 kB / 1.039 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/1.243, allocations: 79.06 kB / 1.039 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.244, allocations: 423.2 kB / 1.039 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.246, allocations: 396.9 kB / 1.04 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.246, allocations: 36 kB / 1.04 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/1.247, allocations: 451.9 kB / 1.04 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.249, allocations: 0.5467 MB / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.249, allocations: 0 / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/1.249, allocations: 0 / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.249, allocations: 16 kB / 1.041 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/1.255, allocations: 1.85 MB / 1.042 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005959/1.261, allocations: 0.862 MB / 1.043 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/1.262, allocations: 278.3 kB / 1.043 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.262, allocations: 27.86 kB / 1.044 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.262, allocations: 41.56 kB / 1.044 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.777e-06/1.262, allocations: 0 / 1.044 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001696/1.264, allocations: 0.5271 MB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.264, allocations: 139.9 kB / 1.044 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/1.265, allocations: 288.7 kB / 1.044 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/1.265, allocations: 29.64 kB / 1.045 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/1.265, allocations: 244.9 kB / 1.045 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/1.265, allocations: 228.1 kB / 1.045 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/1.265, allocations: 3.938 kB / 1.045 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.266, allocations: 363.5 kB / 1.045 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/1.266, allocations: 169.4 kB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.267, allocations: 234.2 kB / 1.046 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/1.267, allocations: 197.6 kB / 1.046 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.267, allocations: 0 / 1.046 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001531/1.269, allocations: 0.527 MB / 1.046 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.269, allocations: 8 kB / 1.046 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.269, allocations: 0 / 1.046 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.269, allocations: 4 kB / 1.046 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/1.271, allocations: 186.8 kB / 1.047 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.271, allocations: 4 kB / 1.047 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.273, allocations: 75.53 kB / 1.047 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.273, allocations: 31.58 kB / 1.047 GB, free: 9.273 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.273, allocations: 119.2 kB / 1.047 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001597/1.275, allocations: 0.5311 MB / 1.047 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.275, allocations: 47.44 kB / 1.047 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/1.278, allocations: 0.9284 MB / 1.048 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.278, allocations: 12 kB / 1.048 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.278, allocations: 4 kB / 1.048 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.278, allocations: 3.984 kB / 1.048 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.28, allocations: 0.6767 MB / 1.049 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/1.28, allocations: 4 kB / 1.049 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.282, allocations: 241.9 kB / 1.049 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/1.282, allocations: 4 kB / 1.049 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/1.282, allocations: 15.42 kB / 1.049 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.282, allocations: 4 kB / 1.049 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.282, allocations: 0 / 1.049 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.284, allocations: 1.075 MB / 1.05 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/1.285, allocations: 248.3 kB / 1.051 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.285, allocations: 7.953 kB / 1.051 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.287, allocations: 55.92 kB / 1.051 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.287, allocations: 81 kB / 1.051 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.287, allocations: 30.42 kB / 1.051 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004664/1.288, allocations: 270.8 kB / 1.051 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/1.288, allocations: 4 kB / 1.051 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001277/1.289, allocations: 198.8 kB / 1.051 GB, free: 5.5 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003162/1.292, allocations: 2.013 MB / 1.053 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.294, allocations: 0.5376 MB / 1.054 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.294, allocations: 0 / 1.054 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/1.295, allocations: 395.2 kB / 1.054 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/1.295, allocations: 27.75 kB / 1.054 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.299, allocations: 1.027 MB / 1.055 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/1.3, allocations: 0.9445 MB / 1.056 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009108/1.3, allocations: 112.8 kB / 1.056 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/1.301, allocations: 293.9 kB / 1.056 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of SimCode: time 1.192e-06/1.301, allocations: 0 / 1.056 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4824/1.784, allocations: 12.77 MB / 1.069 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/1.784, allocations: 195.6 kB / 1.069 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.91, allocations: 0 / 1.069 GB, free: 3.906 MB / 0.6823 GB