Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_10_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.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.299/2.299, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.83 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5183, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005708/0.5241, allocations: 4.304 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004321/0.5284, allocations: 2.706 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.529, allocations: 8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.5293, allocations: 94.78 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.5308, allocations: 0.5257 MB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.5316, allocations: 447.3 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.5327, allocations: 1.307 MB / 1.027 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.5333, allocations: 394.2 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.5338, allocations: 0.5061 MB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007445/0.5346, allocations: 0.5889 MB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.5348, allocations: 128 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.5353, allocations: 303.8 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.5356, allocations: 279.1 kB / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004519/0.536, allocations: 0.5366 MB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.5372, allocations: 1.428 MB / 1.031 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5372, allocations: 0 / 1.031 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5372, allocations: 0 / 1.031 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5372, allocations: 0 / 1.031 GB, free: 4.852 MB / 0.7794 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.002833/0.5401, allocations: 1.357 MB / 1.032 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5401, allocations: 12.03 kB / 1.032 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.5402, allocations: 123.1 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.5404, allocations: 99.72 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.5411, allocations: 0.5733 MB / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.5412, allocations: 66.36 kB / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5413, allocations: 87.88 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5426, allocations: 0.8807 MB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5426, allocations: 0 / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.5427, allocations: 35.98 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5427, allocations: 23.94 kB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.544, allocations: 0.6861 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.5478, allocations: 2.458 MB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.5516, allocations: 1.248 MB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.5523, allocations: 427.2 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.5524, allocations: 23.97 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.5534, allocations: 0.6799 MB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of pre-optimization done (n=108): time 2.365e-06/0.5534, allocations: 0 / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=108): time 0.002444/0.5559, allocations: 1.287 MB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.556, allocations: 144.5 kB / 1.041 GB, free: 10.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.5565, allocations: 0.53 MB / 1.041 GB, free: 9.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/0.5566, allocations: 49.7 kB / 1.041 GB, free: 9.781 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.5568, allocations: 297.1 kB / 1.041 GB, free: 9.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.5571, allocations: 331.3 kB / 1.042 GB, free: 9.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.5573, allocations: 182.5 kB / 1.042 GB, free: 8.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5575, allocations: 386.7 kB / 1.042 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.5581, allocations: 333.8 kB / 1.043 GB, free: 8.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.5588, allocations: 405.2 kB / 1.043 GB, free: 7.848 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.56, allocations: 0.6906 MB / 1.044 GB, free: 7.145 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.56, allocations: 0 / 1.044 GB, free: 7.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00162/0.5617, allocations: 0.9304 MB / 1.045 GB, free: 6.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5617, allocations: 4 kB / 1.045 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5617, allocations: 0 / 1.045 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5617, allocations: 4 kB / 1.045 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.5626, allocations: 207.7 kB / 1.045 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.5626, allocations: 4 kB / 1.045 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.5635, allocations: 135.1 kB / 1.045 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.5636, allocations: 39.97 kB / 1.045 GB, free: 5.82 MB / 0.795 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.0003356/0.5639, allocations: 246.9 kB / 1.045 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5641, allocations: 79.06 kB / 1.045 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.5666, allocations: 1.373 MB / 1.047 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.5667, allocations: 16 kB / 1.047 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5667, allocations: 0 / 1.047 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.5667, allocations: 15.91 kB / 1.047 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5678, allocations: 1.019 MB / 1.048 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5678, allocations: 4 kB / 1.048 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.5686, allocations: 207.7 kB / 1.048 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5686, allocations: 11.94 kB / 1.048 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.5687, allocations: 39.97 kB / 1.048 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5687, allocations: 7.938 kB / 1.048 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5687, allocations: 0 / 1.048 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.5707, allocations: 1.206 MB / 1.049 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.571, allocations: 295.6 kB / 1.049 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.5712, allocations: 35.91 kB / 1.049 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.5719, allocations: 67.92 kB / 1.049 GB, free: 1.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.5721, allocations: 127.5 kB / 1.05 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.5722, allocations: 47.97 kB / 1.05 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000402/0.5726, allocations: 402.8 kB / 1.05 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.5726, allocations: 0 / 1.05 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006366/0.5732, allocations: 299.5 kB / 1.05 GB, free: 248 kB / 0.795 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.002613/0.5758, allocations: 1.976 MB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.5777, allocations: 0.9777 MB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5777, allocations: 0 / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.5786, allocations: 0.5782 MB / 1.054 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.579, allocations: 82.23 kB / 1.054 GB, free: 12.64 MB / 0.8106 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.008602/0.5876, allocations: 6.659 MB / 1.06 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.5881, allocations: 1.006 MB / 1.061 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005459/0.5887, allocations: 170.8 kB / 1.061 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.5892, allocations: 371.3 kB / 1.062 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.5892, allocations: 0 / 1.062 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.094/1.683, allocations: 17.46 MB / 1.079 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/8.731, allocations: 7.797 kB / 1.079 GB, free: 3.023 MB / 0.8262 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)