Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007653/0.007653, allocations: 96.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 200.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.91 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2457, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005078/0.2509, allocations: 4.305 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.2551, allocations: 2.702 MB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.2556, allocations: 16 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2558, allocations: 94.78 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.2575, allocations: 0.5215 MB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.2583, allocations: 451.3 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2596, allocations: 1.311 MB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005101/0.2601, allocations: 394.2 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.2609, allocations: 0.5216 MB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.2617, allocations: 0.5875 MB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.2619, allocations: 124 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.2624, allocations: 315.7 kB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.2626, allocations: 279.1 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006143/0.2633, allocations: 0.5405 MB / 1.232 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.2647, allocations: 1.467 MB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2647, allocations: 0 / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2647, allocations: 4 kB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.254e-05/0.2648, allocations: 0 / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003459/0.2682, allocations: 1.382 MB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2683, allocations: 12.03 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.2684, allocations: 127.1 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.2687, allocations: 104.3 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/0.2696, allocations: 0.5933 MB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.2697, allocations: 58.38 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2698, allocations: 79.94 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2714, allocations: 0.8884 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.2714, allocations: 4 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/0.2715, allocations: 28 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.2715, allocations: 20 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2729, allocations: 0.69 MB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.2771, allocations: 2.447 MB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.2813, allocations: 1.244 MB / 1.24 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.2821, allocations: 426.1 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.296e-05/0.2822, allocations: 23.83 kB / 1.241 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.2833, allocations: 0.6718 MB / 1.242 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=108): time 3.667e-06/0.2833, allocations: 0 / 1.242 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108): time 0.002755/0.2861, allocations: 1.283 MB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.2862, allocations: 144.5 kB / 1.243 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006826/0.2869, allocations: 0.5222 MB / 1.243 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.2869, allocations: 57.64 kB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.2872, allocations: 305.6 kB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.2874, allocations: 353.1 kB / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.2877, allocations: 182.5 kB / 1.244 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2879, allocations: 382.8 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.2887, allocations: 329.7 kB / 1.245 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.2895, allocations: 413.2 kB / 1.245 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2908, allocations: 0.6945 MB / 1.246 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2908, allocations: 0 / 1.246 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001825/0.2927, allocations: 0.9194 MB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2927, allocations: 4 kB / 1.247 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2927, allocations: 3.984 kB / 1.247 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2927, allocations: 12 kB / 1.247 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.2937, allocations: 199.7 kB / 1.247 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2937, allocations: 4 kB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.2947, allocations: 135.3 kB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.2948, allocations: 43.95 kB / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 (proShaLenEas.solAzi.outsidePolarCircle,proShaLenEas.decAng.tNext,$PRE.proShaLenEas.decAng.tNext,proShaLenEas.eqnTim.tNext,$PRE.proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.tNext,$PRE.proShaLenEas.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,proShaLenSou.solAzi.outsidePolarCircle,proShaLenSou.decAng.tNext,$PRE.proShaLenSou.decAng.tNext,proShaLenSou.eqnTim.tNext,$PRE.proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.tNext,$PRE.proShaLenSou.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,proShaLenWes.solAzi.outsidePolarCircle,proShaLenWes.decAng.tNext,$PRE.proShaLenWes.decAng.tNext,proShaLenWes.eqnTim.tNext,$PRE.proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.tNext,$PRE.proShaLenWes.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,proShaLenNor.solAzi.outsidePolarCircle,proShaLenNor.decAng.tNext,$PRE.proShaLenNor.decAng.tNext,proShaLenNor.eqnTim.tNext,$PRE.proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.tNext,$PRE.proShaLenNor.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003498/0.2951, allocations: 255.1 kB / 1.248 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.2953, allocations: 83.48 kB / 1.248 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.298, allocations: 1.359 MB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.298, allocations: 16 kB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2981, allocations: 4 kB / 1.249 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.2981, allocations: 11.91 kB / 1.249 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5033/0.8014, allocations: 1.006 MB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.8014, allocations: 0.75 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.8023, allocations: 214.1 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.8024, allocations: 5.5 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/0.8025, allocations: 42.59 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.8025, allocations: 6.562 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8025, allocations: 1.969 kB / 1.25 GB, free: 29.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.8047, allocations: 1.217 MB / 1.251 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.8051, allocations: 301.7 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.8052, allocations: 36.73 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/0.806, allocations: 71.75 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.8062, allocations: 116.7 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.8063, allocations: 55.98 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004705/0.8068, allocations: 390.9 kB / 1.252 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.8068, allocations: 0.6562 kB / 1.252 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000778/0.8076, allocations: 309.6 kB / 1.253 GB, free: 29.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext) * Number of discrete states: 12 (proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002745/0.8104, allocations: 1.999 MB / 1.255 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.812, allocations: 0.9198 MB / 1.256 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.812, allocations: 3.5 kB / 1.256 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.8129, allocations: 0.5727 MB / 1.256 GB, free: 28.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.8133, allocations: 81.47 kB / 1.256 GB, free: 28.26 MB / 0.9981 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.008389/0.8217, allocations: 6.477 MB / 1.263 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.8222, allocations: 1.005 MB / 1.263 GB, free: 25.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005806/0.8228, allocations: 158 kB / 1.264 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/0.8234, allocations: 374.3 kB / 1.264 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.8234, allocations: 0.7188 kB / 1.264 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.506/2.329, allocations: 17.64 MB / 1.281 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.792/11.12, allocations: 16.12 kB / 1.281 GB, free: 24.17 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)