Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.001019/0.001019, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001045/0.001045, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.189/1.189, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2703, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002272/0.2727, allocations: 1.585 MB / 0.5688 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.2735, allocations: 0.6394 MB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2735, allocations: 1.281 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.2737, allocations: 76.33 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.2739, allocations: 103.1 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.2742, allocations: 102.7 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2743, allocations: 128.9 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.156e-05/0.2744, allocations: 7.672 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2745, allocations: 73.33 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2747, allocations: 106.5 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2747, allocations: 5.781 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2748, allocations: 81.69 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.2749, allocations: 31.94 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.275, allocations: 58.22 kB / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2751, allocations: 165.1 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2752, allocations: 1.75 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.2752, allocations: 2.562 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2752, allocations: 0 / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005075/0.2757, allocations: 488 kB / 0.5708 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2757, allocations: 9.656 kB / 0.5708 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.364e-05/0.2758, allocations: 34.52 kB / 0.5709 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2758, allocations: 17 kB / 0.5709 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2759, allocations: 217.9 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.276, allocations: 3.75 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.276, allocations: 4.406 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2762, allocations: 129.1 kB / 0.5712 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2762, allocations: 1.094 kB / 0.5712 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2762, allocations: 1.922 kB / 0.5712 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2762, allocations: 3.094 kB / 0.5712 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2763, allocations: 69.45 kB / 0.5713 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2766, allocations: 410 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2768, allocations: 115.6 kB / 0.5718 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.2769, allocations: 86.02 kB / 0.5719 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2769, allocations: 1.969 kB / 0.5719 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.2771, allocations: 175.5 kB / 0.5721 GB, free: 29.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2771, allocations: 1.062 kB / 0.5721 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.000427/0.2775, allocations: 332.5 kB / 0.5724 GB, free: 29.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2776, allocations: 109.1 kB / 0.5725 GB, free: 29.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2777, allocations: 214.5 kB / 0.5727 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2777, allocations: 27.17 kB / 0.5727 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2778, allocations: 121.7 kB / 0.5728 GB, free: 28.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.2778, allocations: 35.02 kB / 0.5729 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2779, allocations: 27.59 kB / 0.5729 GB, free: 28.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.2779, allocations: 338.6 kB / 0.5732 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.278, allocations: 65.58 kB / 0.5733 GB, free: 28.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.2781, allocations: 78.78 kB / 0.5733 GB, free: 28.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2783, allocations: 194.2 kB / 0.5735 GB, free: 28.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2783, allocations: 1.062 kB / 0.5735 GB, free: 28.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002882/0.2786, allocations: 270 kB / 0.5738 GB, free: 28.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.2786, allocations: 36.14 kB / 0.5738 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2786, allocations: 4.219 kB / 0.5738 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2786, allocations: 1.75 kB / 0.5738 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.2787, allocations: 16.3 kB / 0.5738 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2787, allocations: 1.578 kB / 0.5738 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.2788, allocations: 19.47 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2788, allocations: 4.219 kB / 0.5739 GB, free: 28.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001025/0.279, allocations: 179 kB / 0.574 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.279, allocations: 17.81 kB / 0.5741 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.2792, allocations: 102.4 kB / 0.5741 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2792, allocations: 3.594 kB / 0.5742 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2792, allocations: 3.141 kB / 0.5742 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2792, allocations: 1.219 kB / 0.5742 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2793, allocations: 235.4 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2793, allocations: 1.219 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.2794, allocations: 8.781 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2794, allocations: 1.125 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2794, allocations: 8.625 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2794, allocations: 1.469 kB / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2794, allocations: 0 / 0.5744 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.2798, allocations: 339.6 kB / 0.5747 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.2798, allocations: 112.2 kB / 0.5748 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.2799, allocations: 4.672 kB / 0.5748 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.28, allocations: 13.06 kB / 0.5748 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.28, allocations: 13.97 kB / 0.5749 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.28, allocations: 6.969 kB / 0.5749 GB, free: 27.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2801, allocations: 164.1 kB / 0.575 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 1.719 kB / 0.575 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.2804, allocations: 42.62 kB / 0.5751 GB, free: 27.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0005281/0.2809, allocations: 0.8905 MB / 0.5759 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.2812, allocations: 251 kB / 0.5762 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2812, allocations: 1.312 kB / 0.5762 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2814, allocations: 165.7 kB / 0.5763 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2816, allocations: 22.22 kB / 0.5764 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2833, allocations: 2.229 MB / 0.5785 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2834, allocations: 0.7235 MB / 0.5792 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.725e-05/0.2835, allocations: 6.422 kB / 0.5792 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.2835, allocations: 43.81 kB / 0.5793 GB, free: 24 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2835, allocations: 0.7188 kB / 0.5793 GB, free: 24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.3013, allocations: 3.478 MB / 0.5827 GB, free: 23.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/6.944, allocations: 16.75 kB / 0.5827 GB, free: 23.12 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)