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.008316/0.008316, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001992/0.001992, allocations: 199 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.534/2.534, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 5.061/5.061, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003354/0.003354, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5438, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.01364/0.5575, allocations: 4.3 MB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.5703, allocations: 2.706 MB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.5719, allocations: 8 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.5727, allocations: 98.72 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.5818, allocations: 0.52 MB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.584, allocations: 443.4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00751/0.5916, allocations: 1.315 MB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.5931, allocations: 398.2 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.595, allocations: 0.5022 MB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006118/0.6011, allocations: 0.5836 MB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009331/0.6021, allocations: 128 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.604, allocations: 315.8 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00086/0.6049, allocations: 287.1 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.6066, allocations: 0.5404 MB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007954/0.6146, allocations: 1.46 MB / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.6146, allocations: 0 / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.883e-06/0.6147, allocations: 0 / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.278e-05/0.6147, allocations: 7.875 kB / 1.179 GB, free: 9.664 MB / 0.9356 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.01109/0.6258, allocations: 1.386 MB / 1.181 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.6259, allocations: 8.031 kB / 1.181 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005498/0.6265, allocations: 127.1 kB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.6272, allocations: 104.3 kB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/0.6337, allocations: 0.5894 MB / 1.182 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.6339, allocations: 62.38 kB / 1.182 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.6345, allocations: 87.92 kB / 1.182 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.6383, allocations: 0.8768 MB / 1.183 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.6384, allocations: 0 / 1.183 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.6386, allocations: 32 kB / 1.183 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.6387, allocations: 20 kB / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006917/0.6456, allocations: 0.69 MB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009601/0.6553, allocations: 2.455 MB / 1.186 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00945/0.6648, allocations: 1.241 MB / 1.187 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.6676, allocations: 427.2 kB / 1.187 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.6678, allocations: 27.95 kB / 1.187 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002528/0.6704, allocations: 0.6701 MB / 1.188 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=108): time 8.717e-06/0.6704, allocations: 0 / 1.188 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=108): time 0.005622/0.676, allocations: 1.287 MB / 1.189 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.6762, allocations: 148.5 kB / 1.189 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6778, allocations: 0.5222 MB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.678, allocations: 49.7 kB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.6785, allocations: 309.5 kB / 1.19 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000665/0.6792, allocations: 345 kB / 1.191 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.6799, allocations: 186.5 kB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003498/0.6803, allocations: 386.8 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.6817, allocations: 321.9 kB / 1.191 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.6832, allocations: 405.2 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.686, allocations: 0.6906 MB / 1.192 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.6861, allocations: 8 kB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004397/0.6905, allocations: 0.923 MB / 1.193 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.6905, allocations: 8 kB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.6906, allocations: 0 / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.6906, allocations: 7.938 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.6923, allocations: 207.7 kB / 1.194 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/0.6924, allocations: 8 kB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.6942, allocations: 127.3 kB / 1.194 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.6945, allocations: 47.95 kB / 1.194 GB, free: 10.58 MB / 0.9512 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.0008281/0.6953, allocations: 246.9 kB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.6958, allocations: 83.47 kB / 1.194 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.7013, allocations: 1.365 MB / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/0.7014, allocations: 16 kB / 1.195 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.7014, allocations: 0 / 1.195 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/0.7014, allocations: 11.91 kB / 1.195 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.7042, allocations: 1.02 MB / 1.196 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.7043, allocations: 8 kB / 1.196 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.7059, allocations: 207.7 kB / 1.197 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.234e-05/0.706, allocations: 8 kB / 1.197 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.7062, allocations: 35.97 kB / 1.197 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/0.7062, allocations: 8 kB / 1.197 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7063, allocations: 3.938 kB / 1.197 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.7109, allocations: 1.214 MB / 1.198 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/0.7119, allocations: 300 kB / 1.198 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.7123, allocations: 28 kB / 1.198 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.7139, allocations: 79.91 kB / 1.198 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.7144, allocations: 115.8 kB / 1.198 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.7146, allocations: 55.95 kB / 1.198 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001176/0.7158, allocations: 390.8 kB / 1.199 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7158, allocations: 3.938 kB / 1.199 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001782/0.7176, allocations: 311.3 kB / 1.199 GB, free: 4.996 MB / 0.9512 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.006159/0.7238, allocations: 1.988 MB / 1.201 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004022/0.7278, allocations: 0.9232 MB / 1.202 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.7279, allocations: 0 / 1.202 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.7301, allocations: 0.5731 MB / 1.203 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.7314, allocations: 84.11 kB / 1.203 GB, free: 1.438 MB / 0.9512 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.02184/0.7532, allocations: 6.473 MB / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.7546, allocations: 1.002 MB / 1.21 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001287/0.7559, allocations: 158.9 kB / 1.21 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.7572, allocations: 375.2 kB / 1.21 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of SimCode: time 2.255e-06/0.7573, allocations: 0 / 1.21 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.56/13.32, allocations: 17.64 MB / 1.228 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.03/35.35, allocations: 12.48 kB / 1.228 GB, free: 7.855 MB / 0.9825 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)