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.813/1.813, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001079/0.001079, allocations: 187.3 kB / 377.1 MB, free: 1.555 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.698/1.698, allocations: 205.4 MB / 0.6366 GB, free: 8.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.000982/0.0009822, allocations: 96 kB / 0.7509 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 8 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9835/1.271, allocations: 146.3 MB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.271, allocations: 87.44 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05854/1.33, allocations: 18.55 MB / 1.149 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.33, allocations: 0 / 1.149 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.575e-05/1.33, allocations: 12 kB / 1.149 GB, free: 16.87 MB / 0.7292 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.001847/1.332, allocations: 0.907 MB / 1.15 GB, free: 16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.332, allocations: 13.44 kB / 1.15 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/1.332, allocations: 104.1 kB / 1.15 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/1.332, allocations: 77.12 kB / 1.151 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/1.333, allocations: 390 kB / 1.151 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/1.333, allocations: 59.03 kB / 1.151 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/1.333, allocations: 64.7 kB / 1.151 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.334, allocations: 0.6398 MB / 1.152 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.334, allocations: 0 / 1.152 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/1.334, allocations: 28 kB / 1.152 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.334, allocations: 12 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/1.335, allocations: 0.5094 MB / 1.152 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/1.338, allocations: 1.866 MB / 1.154 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/1.342, allocations: 0.9368 MB / 1.155 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/1.342, allocations: 19.53 kB / 1.155 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.342, allocations: 43.88 kB / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=72): time 3.396e-06/1.342, allocations: 3.938 kB / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.001823/1.344, allocations: 0.8256 MB / 1.156 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/1.344, allocations: 140.5 kB / 1.156 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/1.344, allocations: 332.9 kB / 1.156 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/1.344, allocations: 38.55 kB / 1.156 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.344, allocations: 244.9 kB / 1.157 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.344, allocations: 240.4 kB / 1.157 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/1.344, allocations: 8 kB / 1.157 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/1.344, allocations: 358.8 kB / 1.157 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/1.345, allocations: 197.2 kB / 1.157 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/1.345, allocations: 257.8 kB / 1.158 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/1.346, allocations: 230.5 kB / 1.158 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.346, allocations: 0 / 1.158 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001129/1.347, allocations: 0.607 MB / 1.158 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.347, allocations: 4 kB / 1.158 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.347, allocations: 4 kB / 1.158 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.347, allocations: 4 kB / 1.158 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/1.348, allocations: 139.8 kB / 1.159 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.348, allocations: 11.94 kB / 1.159 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/1.348, allocations: 63.41 kB / 1.159 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/1.348, allocations: 27.97 kB / 1.159 GB, free: 8.145 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000261/1.349, allocations: 181.8 kB / 1.159 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.349, allocations: 57.2 kB / 1.159 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.351, allocations: 1.044 MB / 1.16 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.351, allocations: 12 kB / 1.16 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.351, allocations: 4 kB / 1.16 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.351, allocations: 7.984 kB / 1.16 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/1.352, allocations: 0.7814 MB / 1.161 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.352, allocations: 0 / 1.161 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/1.352, allocations: 191.7 kB / 1.161 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.352, allocations: 4.844 kB / 1.161 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/1.352, allocations: 31.94 kB / 1.161 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/1.352, allocations: 8 kB / 1.161 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.353, allocations: 8.812 kB / 1.161 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.354, allocations: 1.148 MB / 1.162 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/1.354, allocations: 251.9 kB / 1.162 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/1.354, allocations: 20 kB / 1.162 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/1.355, allocations: 33.78 kB / 1.162 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/1.355, allocations: 71.89 kB / 1.162 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/1.355, allocations: 37.48 kB / 1.162 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000283/1.355, allocations: 303.1 kB / 1.163 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.333e-06/1.355, allocations: 0 / 1.163 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009017/1.356, allocations: 251.4 kB / 1.163 GB, free: 3.617 MB / 0.7292 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 (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.002238/1.358, allocations: 2.124 MB / 1.165 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001262/1.36, allocations: 0.6059 MB / 1.166 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.36, allocations: 3.938 kB / 1.166 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/1.36, allocations: 407.5 kB / 1.166 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/1.361, allocations: 41.52 kB / 1.166 GB, free: 488 kB / 0.7292 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.006605/1.367, allocations: 3.861 MB / 1.17 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/1.368, allocations: 0.9418 MB / 1.171 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005178/1.368, allocations: 129.1 kB / 1.171 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.369, allocations: 283.3 kB / 1.171 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/1.369, allocations: 3.938 kB / 1.171 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5161/1.885, allocations: 12.42 MB / 1.183 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.885, allocations: 238.3 kB / 1.183 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/4.736, allocations: 0 / 1.183 GB, free: 14.7 MB / 0.7605 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)