Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001093/0.001093, allocations: 192.2 kB / 16.13 MB, free: 6.66 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8361/0.8361, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002159/0.1251, allocations: 1.556 MB / 0.5953 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.1259, allocations: 0.5806 MB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.126, allocations: 4 kB / 0.5958 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1261, allocations: 75.83 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1263, allocations: 79.81 kB / 0.596 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1265, allocations: 78.34 kB / 0.596 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.1266, allocations: 95.73 kB / 0.5961 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.1267, allocations: 4 kB / 0.5961 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1268, allocations: 55.83 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1269, allocations: 87.83 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1269, allocations: 4 kB / 0.5963 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.127, allocations: 75.92 kB / 0.5964 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.1271, allocations: 27.86 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.1272, allocations: 35.73 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1273, allocations: 131.9 kB / 0.5965 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1273, allocations: 0 / 0.5965 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1273, allocations: 3.984 kB / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1273, allocations: 8 kB / 0.5966 GB, free: 7.066 MB / 0.4981 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.0004349/0.1278, allocations: 452.5 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1278, allocations: 8.031 kB / 0.597 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.1279, allocations: 34.75 kB / 0.597 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1279, allocations: 20.69 kB / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1281, allocations: 213.3 kB / 0.5972 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1281, allocations: 4.312 kB / 0.5973 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1281, allocations: 4.375 kB / 0.5973 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1282, allocations: 111.5 kB / 0.5974 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1283, allocations: 0 / 0.5974 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1283, allocations: 4 kB / 0.5974 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1283, allocations: 0 / 0.5974 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.1284, allocations: 63.91 kB / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.1287, allocations: 293.7 kB / 0.5977 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1288, allocations: 105.1 kB / 0.5978 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.1289, allocations: 69.75 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1289, allocations: 3.984 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.1291, allocations: 150.7 kB / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1291, allocations: 0 / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003641/0.1295, allocations: 299.1 kB / 0.5983 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1295, allocations: 102.8 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1297, allocations: 203.2 kB / 0.5986 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1297, allocations: 25.7 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.1298, allocations: 112.3 kB / 0.5987 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1298, allocations: 31.55 kB / 0.5988 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1298, allocations: 29.83 kB / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.1299, allocations: 330.8 kB / 0.5991 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.13, allocations: 51.97 kB / 0.5992 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.1301, allocations: 61.7 kB / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1302, allocations: 181 kB / 0.5994 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1302, allocations: 7.875 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.1305, allocations: 247.1 kB / 0.5996 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1305, allocations: 37.69 kB / 0.5997 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1305, allocations: 0 / 0.5997 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1305, allocations: 0 / 0.5997 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.1306, allocations: 8 kB / 0.5997 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1306, allocations: 0 / 0.5997 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.1307, allocations: 7.938 kB / 0.5997 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1307, allocations: 4 kB / 0.5997 GB, free: 3.527 MB / 0.4981 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 (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 (6): * Single equations (assignments): 5 * 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.0001153/0.1308, allocations: 181.6 kB / 0.5999 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.1309, allocations: 19.91 kB / 0.5999 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.131, allocations: 75.09 kB / 0.5999 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.131, allocations: 4 kB / 0.6 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.131, allocations: 0 / 0.6 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.131, allocations: 0 / 0.6 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1311, allocations: 213.5 kB / 0.6002 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1312, allocations: 0 / 0.6002 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1312, allocations: 11.98 kB / 0.6002 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1312, allocations: 4 kB / 0.6002 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1312, allocations: 8 kB / 0.6002 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1312, allocations: 0 / 0.6002 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1312, allocations: 4 kB / 0.6002 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.1315, allocations: 303.3 kB / 0.6005 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.1316, allocations: 96.91 kB / 0.6006 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1316, allocations: 11.98 kB / 0.6006 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.1317, allocations: 8 kB / 0.6006 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1317, allocations: 4 kB / 0.6006 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1318, allocations: 7.984 kB / 0.6006 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001029/0.1319, allocations: 161.1 kB / 0.6007 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 0 / 0.6007 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000209/0.1321, allocations: 36 kB / 0.6008 GB, free: 2.281 MB / 0.4981 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 (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.0005784/0.1327, allocations: 0.8646 MB / 0.6016 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1329, allocations: 211.3 kB / 0.6018 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1329, allocations: 0 / 0.6018 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.133, allocations: 151.3 kB / 0.602 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.1332, allocations: 26.67 kB / 0.602 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1756/0.3089, allocations: 2.102 MB / 0.604 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.309, allocations: 0.717 MB / 0.6047 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3091, allocations: 4.062 kB / 0.6048 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.3091, allocations: 38.73 kB / 0.6048 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.3091, allocations: 1.422 kB / 0.6048 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/0.5336, allocations: 2.875 MB / 0.6076 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.5338, allocations: 240.3 kB / 0.6078 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.039, allocations: 0 / 0.6078 GB, free: 42.09 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)