Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.627/2.627, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.00147/0.00147, allocations: 180.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001055/0.001055, allocations: 97.23 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.023e-05, allocations: 0 / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8777, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/1.13, allocations: 144.4 MB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.13, allocations: 86.8 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09253/1.223, allocations: 18.08 MB / 1.122 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/1.223, allocations: 0 / 1.122 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.455e-05/1.223, allocations: 12 kB / 1.122 GB, free: 9.969 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.0031/1.226, allocations: 0.814 MB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/1.226, allocations: 11.97 kB / 1.123 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/1.227, allocations: 72.36 kB / 1.123 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.228, allocations: 423 kB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/1.228, allocations: 45.28 kB / 1.124 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/1.229, allocations: 32 kB / 1.124 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/1.23, allocations: 434.5 kB / 1.124 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.232, allocations: 0.5263 MB / 1.124 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/1.232, allocations: 0 / 1.124 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/1.232, allocations: 5.25 kB / 1.124 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/1.232, allocations: 16 kB / 1.124 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/1.237, allocations: 1.747 MB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/1.243, allocations: 0.8369 MB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/1.244, allocations: 267.5 kB / 1.127 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.244, allocations: 27.95 kB / 1.127 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.244, allocations: 46.5 kB / 1.127 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=72): time 3.777e-06/1.244, allocations: 0 / 1.127 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.002156/1.247, allocations: 0.5398 MB / 1.128 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/1.247, allocations: 136.5 kB / 1.128 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/1.247, allocations: 294.4 kB / 1.128 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/1.247, allocations: 29.64 kB / 1.128 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/1.248, allocations: 244.8 kB / 1.129 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/1.248, allocations: 228.5 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/1.248, allocations: 2.906 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.248, allocations: 350.8 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.249, allocations: 161.5 kB / 1.129 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/1.249, allocations: 233.5 kB / 1.129 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/1.25, allocations: 215.5 kB / 1.13 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.25, allocations: 0 / 1.13 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001842/1.252, allocations: 0.5448 MB / 1.13 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.252, allocations: 7.953 kB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.252, allocations: 0 / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.252, allocations: 4 kB / 1.13 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.254, allocations: 147.8 kB / 1.13 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.254, allocations: 4 kB / 1.13 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/1.255, allocations: 43.56 kB / 1.13 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/1.255, allocations: 27.97 kB / 1.13 GB, free: 1.246 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 () * 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.0002143/1.255, allocations: 122.5 kB / 1.131 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001987/1.257, allocations: 0.5381 MB / 1.131 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.257, allocations: 51.39 kB / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/1.261, allocations: 0.9426 MB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.261, allocations: 12 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.261, allocations: 5.812 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.261, allocations: 7.969 kB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.262, allocations: 0.6532 MB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.262, allocations: 4 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.264, allocations: 198.6 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/1.264, allocations: 8 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/1.264, allocations: 19.94 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/1.264, allocations: 4 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.264, allocations: 0 / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/1.267, allocations: 1.082 MB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/1.267, allocations: 255.8 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.267, allocations: 3.938 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.269, allocations: 20.97 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.269, allocations: 67.89 kB / 1.134 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-05/1.269, allocations: 35.98 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005103/1.269, allocations: 267 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.61e-07/1.269, allocations: 0 / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001306/1.271, allocations: 219.5 kB / 1.135 GB, free: 12.64 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.003717/1.274, allocations: 2.036 MB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.276, allocations: 0.5087 MB / 1.137 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.276, allocations: 0 / 1.137 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/1.277, allocations: 363.6 kB / 1.138 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/1.278, allocations: 25.86 kB / 1.138 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/1.281, allocations: 1.025 MB / 1.139 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/1.282, allocations: 0.9429 MB / 1.14 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009493/1.283, allocations: 121.9 kB / 1.14 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/1.284, allocations: 287.3 kB / 1.14 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of SimCode: time 1.924e-06/1.284, allocations: 0 / 1.14 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4926/1.777, allocations: 11.93 MB / 1.152 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/1.777, allocations: 195.5 kB / 1.152 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.661, allocations: 0 / 1.152 GB, free: 11.27 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)