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.687/1.687, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001037/0.001037, allocations: 180.9 kB / 366.7 MB, free: 1.621 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.905/1.905, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009777/0.0009777, allocations: 84.03 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.846e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7737, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.9969, allocations: 145.6 MB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.9973, allocations: 84.45 kB / 1.116 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05903/1.056, allocations: 18.08 MB / 1.133 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.754e-06/1.056, allocations: 0 / 1.133 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.107e-05/1.056, allocations: 12 kB / 1.133 GB, free: 2.43 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.002242/1.059, allocations: 0.8179 MB / 1.134 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.059, allocations: 11.97 kB / 1.134 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/1.059, allocations: 71.16 kB / 1.134 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/1.06, allocations: 427 kB / 1.135 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/1.06, allocations: 45.28 kB / 1.135 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.06, allocations: 32 kB / 1.135 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/1.061, allocations: 430.5 kB / 1.135 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.062, allocations: 0.5224 MB / 1.136 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.062, allocations: 7.938 kB / 1.136 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.063, allocations: 0 / 1.136 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/1.063, allocations: 16 kB / 1.136 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/1.066, allocations: 1.742 MB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.069, allocations: 0.8397 MB / 1.138 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/1.069, allocations: 267.6 kB / 1.138 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/1.069, allocations: 19.91 kB / 1.138 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.069, allocations: 50.52 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.654e-06/1.069, allocations: 0 / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001351/1.071, allocations: 0.5399 MB / 1.139 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/1.071, allocations: 140.5 kB / 1.139 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/1.071, allocations: 286.4 kB / 1.139 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/1.071, allocations: 29.64 kB / 1.139 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/1.072, allocations: 248.8 kB / 1.14 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.072, allocations: 228.5 kB / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/1.072, allocations: 0 / 1.14 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.072, allocations: 350.8 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/1.072, allocations: 161.5 kB / 1.14 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/1.073, allocations: 229.5 kB / 1.14 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/1.073, allocations: 215.9 kB / 1.141 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.073, allocations: 1.031 kB / 1.141 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001049/1.074, allocations: 0.5473 MB / 1.141 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.074, allocations: 4 kB / 1.141 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.074, allocations: 6.75 kB / 1.141 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.074, allocations: 7.953 kB / 1.141 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/1.075, allocations: 143.8 kB / 1.141 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/1.075, allocations: 4 kB / 1.141 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/1.076, allocations: 43.56 kB / 1.141 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.076, allocations: 35.97 kB / 1.141 GB, free: 9.699 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.000159/1.076, allocations: 108.9 kB / 1.142 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001179/1.077, allocations: 0.5434 MB / 1.142 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/1.077, allocations: 53.27 kB / 1.142 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/1.079, allocations: 0.938 MB / 1.143 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.079, allocations: 12 kB / 1.143 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.079, allocations: 4 kB / 1.143 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.079, allocations: 7.969 kB / 1.143 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.08, allocations: 0.6571 MB / 1.144 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.08, allocations: 0 / 1.144 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/1.081, allocations: 195.7 kB / 1.144 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/1.081, allocations: 8 kB / 1.144 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/1.081, allocations: 11.98 kB / 1.144 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.081, allocations: 7.953 kB / 1.144 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.082, allocations: 4 kB / 1.144 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/1.083, allocations: 1.08 MB / 1.145 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/1.083, allocations: 263.8 kB / 1.145 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/1.084, allocations: 8 kB / 1.145 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/1.084, allocations: 18.22 kB / 1.145 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.084, allocations: 71.89 kB / 1.145 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/1.084, allocations: 31.98 kB / 1.145 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002986/1.085, allocations: 271 kB / 1.146 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 1.146 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009666/1.086, allocations: 211.5 kB / 1.146 GB, free: 5.109 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.00283/1.088, allocations: 2.032 MB / 1.148 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001084/1.09, allocations: 0.5048 MB / 1.148 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.09, allocations: 0 / 1.148 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/1.09, allocations: 365 kB / 1.149 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/1.09, allocations: 31.88 kB / 1.149 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/1.093, allocations: 1.023 MB / 1.15 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/1.094, allocations: 0.9523 MB / 1.151 GB, free: 156 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004868/1.094, allocations: 118.2 kB / 1.151 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/1.095, allocations: 287.4 kB / 1.151 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/1.095, allocations: 0 / 1.151 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.484/1.579, allocations: 11.94 MB / 1.163 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.579, allocations: 191.3 kB / 1.163 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/4.681, allocations: 1.828 kB / 1.163 GB, free: 3.777 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)