Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001138/0.001139, allocations: 184.6 kB / 371.6 MB, free: 3.414 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.599/1.599, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009229/0.0009228, allocations: 91.36 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.435e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.363, allocations: 146.2 MB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.363, allocations: 80.89 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05554/1.419, allocations: 18.33 MB / 1.141 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/1.419, allocations: 0 / 1.141 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.441e-05/1.419, allocations: 12 kB / 1.141 GB, free: 29.37 MB / 0.7448 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.002327/1.421, allocations: 0.8147 MB / 1.141 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.421, allocations: 8.031 kB / 1.141 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/1.422, allocations: 105.5 kB / 1.142 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/1.422, allocations: 73.53 kB / 1.142 GB, free: 28.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/1.422, allocations: 389.6 kB / 1.142 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/1.423, allocations: 67.81 kB / 1.142 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/1.423, allocations: 60.06 kB / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.424, allocations: 0.6017 MB / 1.143 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.424, allocations: 3.938 kB / 1.143 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/1.424, allocations: 27.56 kB / 1.143 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.424, allocations: 16 kB / 1.143 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/1.425, allocations: 468.9 kB / 1.143 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/1.428, allocations: 1.858 MB / 1.145 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/1.431, allocations: 0.8851 MB / 1.146 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/1.432, allocations: 291.2 kB / 1.146 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.498e-05/1.432, allocations: 23.48 kB / 1.146 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.432, allocations: 53.33 kB / 1.146 GB, free: 25.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 3.927e-06/1.432, allocations: 3.938 kB / 1.146 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001118/1.433, allocations: 0.5513 MB / 1.147 GB, free: 25.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.433, allocations: 136.5 kB / 1.147 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/1.434, allocations: 327.2 kB / 1.147 GB, free: 24.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/1.434, allocations: 37.02 kB / 1.147 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.434, allocations: 247.7 kB / 1.147 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.434, allocations: 234.2 kB / 1.148 GB, free: 24.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/1.434, allocations: 13.81 kB / 1.148 GB, free: 24.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.434, allocations: 355.2 kB / 1.148 GB, free: 24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/1.434, allocations: 173.3 kB / 1.148 GB, free: 23.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/1.435, allocations: 235 kB / 1.148 GB, free: 23.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/1.435, allocations: 205.7 kB / 1.149 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.435, allocations: 4.844 kB / 1.149 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009104/1.436, allocations: 0.5549 MB / 1.149 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.436, allocations: 4.75 kB / 1.149 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.436, allocations: 4 kB / 1.149 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.436, allocations: 4 kB / 1.149 GB, free: 23.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/1.437, allocations: 142 kB / 1.149 GB, free: 23.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.437, allocations: 4.609 kB / 1.149 GB, free: 23.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/1.437, allocations: 61.39 kB / 1.149 GB, free: 23.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/1.438, allocations: 27.44 kB / 1.149 GB, free: 23.11 MB / 0.7448 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.000123/1.438, allocations: 138.8 kB / 1.15 GB, free: 22.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.438, allocations: 55.91 kB / 1.15 GB, free: 22.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.44, allocations: 0.9896 MB / 1.151 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.44, allocations: 12 kB / 1.151 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.44, allocations: 4 kB / 1.151 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.44, allocations: 5.25 kB / 1.151 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.441, allocations: 0.7741 MB / 1.151 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.441, allocations: 0 / 1.151 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/1.442, allocations: 194.7 kB / 1.152 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.442, allocations: 11.98 kB / 1.152 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/1.442, allocations: 31.53 kB / 1.152 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/1.442, allocations: 7.938 kB / 1.152 GB, free: 21.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.442, allocations: 0 / 1.152 GB, free: 21.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/1.443, allocations: 1.1 MB / 1.153 GB, free: 20.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/1.443, allocations: 257.7 kB / 1.153 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/1.444, allocations: 20.53 kB / 1.153 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.444, allocations: 40.55 kB / 1.153 GB, free: 20.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.444, allocations: 74.5 kB / 1.153 GB, free: 20.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/1.444, allocations: 31.91 kB / 1.153 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003432/1.445, allocations: 295.3 kB / 1.153 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.445, allocations: 0 / 1.153 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000959/1.446, allocations: 236.7 kB / 1.154 GB, free: 20.14 MB / 0.7448 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.002167/1.448, allocations: 2.081 MB / 1.156 GB, free: 18.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009418/1.449, allocations: 0.5529 MB / 1.156 GB, free: 18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.449, allocations: 0 / 1.156 GB, free: 18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/1.449, allocations: 389.6 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/1.45, allocations: 43.16 kB / 1.157 GB, free: 17.72 MB / 0.7448 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/1.452, allocations: 1.111 MB / 1.158 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/1.452, allocations: 0.9397 MB / 1.159 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004741/1.453, allocations: 133.3 kB / 1.159 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/1.453, allocations: 285 kB / 1.159 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.453, allocations: 0 / 1.159 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5028/1.956, allocations: 12.7 MB / 1.171 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/1.957, allocations: 223.4 kB / 1.172 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/4.78, allocations: 0 / 1.172 GB, free: 6.98 MB / 0.7448 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)