Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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.001839/0.001839, 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.002939/0.002939, 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 4.0.0+maint.om/package.mo): time 2.676/2.676, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.564/4.564, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006698/0.0006698, allocations: 8 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257/1.258, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002294/1.26, allocations: 1.284 MB / 0.9821 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001144/1.261, allocations: 0.6042 MB / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/1.262, allocations: 0 / 0.9827 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/1.262, allocations: 71.81 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003207/1.262, allocations: 95.84 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/1.262, allocations: 74.8 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/1.263, allocations: 83.81 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/1.263, allocations: 11.97 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/1.263, allocations: 67.88 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/1.263, allocations: 79.78 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/1.263, allocations: 0 / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/1.263, allocations: 71.92 kB / 0.9832 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/1.263, allocations: 31.84 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/1.263, allocations: 45.64 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/1.264, allocations: 114 kB / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.264, allocations: 3.938 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.983e-06/1.264, allocations: 0 / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.264, allocations: 0 / 0.9834 GB, free: 3.602 MB / 0.7325 GB 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.0009909/1.265, allocations: 464.4 kB / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/1.265, allocations: 8.031 kB / 0.9839 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/1.265, allocations: 30.56 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/1.265, allocations: 19.81 kB / 0.9839 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/1.265, allocations: 202.8 kB / 0.9841 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/1.265, allocations: 4 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/1.265, allocations: 4 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/1.266, allocations: 131.3 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.266, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.266, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/1.266, allocations: 0 / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.266, allocations: 75.89 kB / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/1.266, allocations: 409 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/1.267, allocations: 121.1 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/1.267, allocations: 0 / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/1.267, allocations: 170.8 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/1.267, allocations: 4 kB / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0006782/1.268, allocations: 412.3 kB / 0.9854 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.268, allocations: 110.8 kB / 0.9855 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/1.268, allocations: 218.5 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.268, allocations: 33.64 kB / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/1.268, allocations: 112.1 kB / 0.9858 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/1.268, allocations: 39.42 kB / 0.9859 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/1.268, allocations: 4 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.269, allocations: 330.8 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/1.269, allocations: 63.97 kB / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/1.269, allocations: 73.69 kB / 0.9863 GB, free: 324 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.269, allocations: 85.69 kB / 0.9864 GB, free: 232 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.269, allocations: 0 / 0.9864 GB, free: 232 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003709/1.269, allocations: 271.1 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/1.269, allocations: 33.7 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.269, allocations: 7.984 kB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.269, allocations: 3.984 kB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.269, allocations: 16.31 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.27, allocations: 3.938 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/1.27, allocations: 23.83 kB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/1.27, allocations: 4 kB / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$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 (10): * Single equations (assignments): 9 * 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.0001762/1.27, allocations: 175.5 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/1.27, allocations: 19.77 kB / 0.987 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/1.27, allocations: 99.08 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.27, allocations: 3.984 kB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.27, allocations: 0 / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.27, allocations: 0 / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/1.27, allocations: 233.5 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.27, allocations: 0 / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/1.27, allocations: 15.92 kB / 0.9873 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.27, allocations: 3.953 kB / 0.9873 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.271, allocations: 4 kB / 0.9873 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.271, allocations: 0 / 0.9873 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.271, allocations: 4.094 kB / 0.9873 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/1.271, allocations: 345.2 kB / 0.9876 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.271, allocations: 116.7 kB / 0.9877 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/1.271, allocations: 8 kB / 0.9877 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/1.271, allocations: 8 kB / 0.9878 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/1.271, allocations: 11.98 kB / 0.9878 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/1.271, allocations: 8 kB / 0.9878 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001507/1.271, allocations: 168 kB / 0.9879 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.271, allocations: 0 / 0.9879 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002759/1.272, allocations: 48 kB / 0.988 GB, free: 14.49 MB / 0.7481 GB 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 (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.0008653/1.273, allocations: 0.9749 MB / 0.9889 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003526/1.273, allocations: 235.3 kB / 0.9892 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.273, allocations: 0 / 0.9892 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/1.273, allocations: 171.3 kB / 0.9893 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/1.273, allocations: 8 kB / 0.9893 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/1.275, allocations: 1.325 MB / 0.9906 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.276, allocations: 0.7316 MB / 0.9913 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.678e-05/1.276, allocations: 12.17 kB / 0.9913 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/1.276, allocations: 39.42 kB / 0.9914 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/1.276, allocations: 0 / 0.9914 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/1.293, allocations: 3.193 MB / 0.9945 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/1.294, allocations: 216.6 kB / 0.9947 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.136, allocations: 0 / 0.9947 GB, free: 7.605 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: