Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_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.001274/0.001274, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001462/0.001462, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005979/0.000598, allocations: 17.72 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3114, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002593/0.3141, allocations: 1.191 MB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3157, allocations: 0.5869 MB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.3158, allocations: 0 / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.316, allocations: 71.88 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.3163, allocations: 79.75 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.3167, allocations: 66.36 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3168, allocations: 67.83 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3169, allocations: 8 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3171, allocations: 55.88 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3173, allocations: 71.8 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3174, allocations: 0 / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3175, allocations: 63.92 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.3176, allocations: 23.92 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.3177, allocations: 45.64 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3179, allocations: 92.08 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3179, allocations: 4 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3179, allocations: 0 / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3179, allocations: 0 / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007525/0.3187, allocations: 436.4 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.3187, allocations: 8.031 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.3188, allocations: 38.55 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.3188, allocations: 15.81 kB / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.3192, allocations: 195.7 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3192, allocations: 0 / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3193, allocations: 15.94 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.3195, allocations: 99.38 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3196, allocations: 0 / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3196, allocations: 4 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3196, allocations: 0 / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3197, allocations: 63.91 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3203, allocations: 309.5 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3205, allocations: 97.28 kB / 0.7908 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3206, allocations: 4.062 kB / 0.7908 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.3209, allocations: 150.8 kB / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.321, allocations: 4 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006494/0.3216, allocations: 376.2 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.3217, allocations: 110.8 kB / 0.7914 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.322, allocations: 208.2 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.322, allocations: 29.7 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3221, allocations: 108.1 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.3222, allocations: 19.72 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.3222, allocations: 0 / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3224, allocations: 331 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.3225, allocations: 51.97 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.3226, allocations: 69.64 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3227, allocations: 77.69 kB / 0.7923 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3227, allocations: 0 / 0.7923 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004411/0.3232, allocations: 247.1 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3233, allocations: 29.7 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3233, allocations: 8.094 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3233, allocations: 4 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3235, allocations: 15.98 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3235, allocations: 0 / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3236, allocations: 11.89 kB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.3236, allocations: 4 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.3238, allocations: 171.5 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3239, allocations: 15.81 kB / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3242, allocations: 79.03 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.3242, allocations: 0 / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3242, allocations: 4 kB / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3242, allocations: 0 / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3245, allocations: 221.5 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3245, allocations: 0 / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.3246, allocations: 8 kB / 0.7931 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3246, allocations: 3.984 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.3247, allocations: 4 kB / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3247, allocations: 7.938 kB / 0.7931 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3247, allocations: 0 / 0.7931 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.3253, allocations: 317 kB / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3254, allocations: 97 kB / 0.7935 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3254, allocations: 4 kB / 0.7935 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.3255, allocations: 0 / 0.7935 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3256, allocations: 15.98 kB / 0.7935 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.3256, allocations: 4 kB / 0.7935 GB, free: 5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001907/0.3258, allocations: 161.1 kB / 0.7936 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3258, allocations: 3.938 kB / 0.7936 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004069/0.3263, allocations: 40 kB / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.3273, allocations: 0.9429 MB / 0.7946 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.3276, allocations: 215.3 kB / 0.7948 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3276, allocations: 0 / 0.7948 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3278, allocations: 151.3 kB / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.328, allocations: 16.12 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3296, allocations: 1.212 MB / 0.7962 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.33, allocations: 0.7196 MB / 0.7969 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.33, allocations: 11.89 kB / 0.7969 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.3301, allocations: 39.42 kB / 0.7969 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3301, allocations: 0 / 0.7969 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.3447, allocations: 2.768 MB / 0.7996 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.345, allocations: 213.2 kB / 0.7998 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.202, allocations: 2.125 kB / 0.7998 GB, free: 14.52 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: