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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 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.00115/0.00115, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.392/2.392, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 66.5 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2264, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004803/0.2312, allocations: 4.319 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2345, allocations: 2.69 MB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.2347, allocations: 12 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2349, allocations: 98.72 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.236, allocations: 0.5157 MB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.2366, allocations: 451.3 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.2375, allocations: 1.299 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004303/0.2379, allocations: 398.3 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.2384, allocations: 0.5138 MB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.239, allocations: 0.585 MB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.2391, allocations: 124 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.2395, allocations: 299.8 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2397, allocations: 283.1 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.2401, allocations: 0.5405 MB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2412, allocations: 1.422 MB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2412, allocations: 4 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2412, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.2412, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 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.002793/0.244, allocations: 1.352 MB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2441, allocations: 8.031 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.2442, allocations: 123.1 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.2444, allocations: 99.72 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.245, allocations: 0.5851 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.2451, allocations: 62.31 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2452, allocations: 79.94 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.2465, allocations: 0.8807 MB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2466, allocations: 4 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.2466, allocations: 28 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.2467, allocations: 24 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2479, allocations: 0.6939 MB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.2516, allocations: 2.469 MB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.2553, allocations: 1.24 MB / 1.084 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.256, allocations: 419.3 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2561, allocations: 35.81 kB / 1.085 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009906/0.2571, allocations: 0.6686 MB / 1.085 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 2.084e-06/0.2571, allocations: 0 / 1.085 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.00236/0.2594, allocations: 1.279 MB / 1.087 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.2595, allocations: 148.4 kB / 1.087 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.26, allocations: 0.5222 MB / 1.087 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.2601, allocations: 49.7 kB / 1.087 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2603, allocations: 305.1 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.2605, allocations: 339.2 kB / 1.088 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.2608, allocations: 190.4 kB / 1.088 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2609, allocations: 382.8 kB / 1.089 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.2615, allocations: 317.9 kB / 1.089 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.2622, allocations: 409.2 kB / 1.089 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.2635, allocations: 0.6989 MB / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2635, allocations: 0 / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001598/0.2651, allocations: 0.9113 MB / 1.091 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2651, allocations: 4 kB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2651, allocations: 0 / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2651, allocations: 8 kB / 1.091 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.266, allocations: 207.7 kB / 1.091 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.266, allocations: 7.938 kB / 1.091 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.2668, allocations: 131 kB / 1.091 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.2669, allocations: 43.95 kB / 1.091 GB, free: 1.871 MB / 0.8419 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.0002907/0.2672, allocations: 262.8 kB / 1.091 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.2674, allocations: 75.06 kB / 1.091 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.2698, allocations: 1.367 MB / 1.093 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.2698, allocations: 12 kB / 1.093 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.2698, allocations: 4 kB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.2698, allocations: 7.922 kB / 1.093 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.2708, allocations: 1.015 MB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2708, allocations: 0 / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.2716, allocations: 215.7 kB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2717, allocations: 4 kB / 1.094 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.2717, allocations: 35.97 kB / 1.094 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.2717, allocations: 7.984 kB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2717, allocations: 8 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2736, allocations: 1.21 MB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.274, allocations: 295.6 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.2741, allocations: 36 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/0.2748, allocations: 71.92 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.275, allocations: 115.5 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.2751, allocations: 63.89 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004043/0.2755, allocations: 390.8 kB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2755, allocations: 0 / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006246/0.2761, allocations: 311.4 kB / 1.097 GB, free: 12.29 MB / 0.8575 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.002586/0.2787, allocations: 1.978 MB / 1.098 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.2806, allocations: 0.9839 MB / 1.099 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2806, allocations: 0 / 1.099 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008845/0.2815, allocations: 0.5713 MB / 1.1 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2819, allocations: 91.2 kB / 1.1 GB, free: 8.672 MB / 0.8575 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.008534/0.2904, allocations: 6.667 MB / 1.107 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.2909, allocations: 1.006 MB / 1.108 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005309/0.2914, allocations: 162.8 kB / 1.108 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.2919, allocations: 375.2 kB / 1.108 GB, free: 320 kB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.2919, allocations: 0 / 1.108 GB, free: 320 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.127/1.419, allocations: 17.45 MB / 1.125 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/8.519, allocations: 16.38 kB / 1.125 GB, free: 15.07 MB / 0.8887 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)