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.0009888/0.0009888, allocations: 107.9 kB / 16.27 MB, free: 5.93 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.0009846/0.0009846, allocations: 188.6 kB / 17.2 MB, free: 5.574 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.188/1.188, 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.691/0.691, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2922, allocations: 77.93 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002273/0.2945, allocations: 1.583 MB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.2953, allocations: 0.6401 MB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.2954, allocations: 1.156 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2955, allocations: 78.8 kB / 0.5695 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.2957, allocations: 104.8 kB / 0.5696 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.296, allocations: 99.62 kB / 0.5697 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.2962, allocations: 132.3 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.2962, allocations: 7.359 kB / 0.5699 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2964, allocations: 78.05 kB / 0.5699 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2965, allocations: 99.19 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2965, allocations: 6.656 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2967, allocations: 88.59 kB / 0.5701 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.2967, allocations: 33.91 kB / 0.5702 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.2968, allocations: 55.39 kB / 0.5702 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.297, allocations: 161.4 kB / 0.5704 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.297, allocations: 2.422 kB / 0.5704 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.297, allocations: 0 / 0.5704 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.297, allocations: 1.25 kB / 0.5704 GB, free: 30.71 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.0004748/0.2975, allocations: 483.4 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.2975, allocations: 11.84 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.2976, allocations: 37.91 kB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.2976, allocations: 17.38 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2977, allocations: 217.2 kB / 0.5711 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2978, allocations: 5.062 kB / 0.5711 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2978, allocations: 3.094 kB / 0.5711 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.298, allocations: 127.7 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.298, allocations: 2.828 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.298, allocations: 1.062 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.298, allocations: 0.875 kB / 0.5712 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.2981, allocations: 74.41 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.2984, allocations: 407.2 kB / 0.5717 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2986, allocations: 119 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.2987, allocations: 83.56 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2987, allocations: 1.094 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.2989, allocations: 175.8 kB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2989, allocations: 5.5 kB / 0.5721 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004252/0.2993, allocations: 333.4 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2994, allocations: 116.3 kB / 0.5725 GB, free: 29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2996, allocations: 207.4 kB / 0.5727 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2996, allocations: 31.84 kB / 0.5727 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.2996, allocations: 115.4 kB / 0.5728 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2997, allocations: 32.31 kB / 0.5729 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.2997, allocations: 31.75 kB / 0.5729 GB, free: 28.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.2998, allocations: 331.7 kB / 0.5732 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.2999, allocations: 60.83 kB / 0.5733 GB, free: 28.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.2999, allocations: 81.67 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3001, allocations: 201.8 kB / 0.5735 GB, free: 28.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3001, allocations: 0 / 0.5735 GB, free: 28.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002866/0.3004, allocations: 267.7 kB / 0.5738 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3005, allocations: 40.2 kB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3005, allocations: 0.6562 kB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3005, allocations: 3.781 kB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3006, allocations: 12.83 kB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3006, allocations: 2.094 kB / 0.5738 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.3007, allocations: 13.59 kB / 0.5739 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3007, allocations: 5.797 kB / 0.5739 GB, free: 28.04 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.0001053/0.3008, allocations: 186.7 kB / 0.574 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.3009, allocations: 17.81 kB / 0.5741 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.301, allocations: 100.8 kB / 0.5741 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.301, allocations: 2.656 kB / 0.5742 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3011, allocations: 1.25 kB / 0.5742 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3011, allocations: 0 / 0.5742 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3012, allocations: 228.4 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3012, allocations: 2.734 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.3013, allocations: 13 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3013, allocations: 3.031 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3013, allocations: 4.562 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3013, allocations: 1.188 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3013, allocations: 1.797 kB / 0.5744 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.3017, allocations: 341.9 kB / 0.5747 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.3017, allocations: 109.2 kB / 0.5748 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3018, allocations: 5.031 kB / 0.5748 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.3019, allocations: 10.41 kB / 0.5748 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3019, allocations: 13.58 kB / 0.5749 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.302, allocations: 5.969 kB / 0.5749 GB, free: 27.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3021, allocations: 171.5 kB / 0.575 GB, free: 27.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3021, allocations: 3.938 kB / 0.575 GB, free: 27.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3023, allocations: 49.12 kB / 0.5751 GB, free: 27.17 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.0005533/0.3029, allocations: 0.8925 MB / 0.5759 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3032, allocations: 246.3 kB / 0.5762 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3032, allocations: 0 / 0.5762 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3033, allocations: 170.8 kB / 0.5763 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.3035, allocations: 12.67 kB / 0.5764 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3054, allocations: 2.225 MB / 0.5785 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3055, allocations: 0.7235 MB / 0.5792 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.936e-05/0.3056, allocations: 7.578 kB / 0.5792 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3056, allocations: 44.05 kB / 0.5793 GB, free: 23.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3056, allocations: 0 / 0.5793 GB, free: 23.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/0.5205, allocations: 3.488 MB / 0.5827 GB, free: 23.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.287, allocations: 3.75 kB / 0.5827 GB, free: 23.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)