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.001206/0.001206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001223/0.001223, allocations: 195 kB / 16.25 MB, free: 6.621 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8576/0.8576, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1322, allocations: 82.04 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00236/0.1346, allocations: 1.55 MB / 0.5954 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.1354, allocations: 0.5727 MB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.1355, allocations: 0 / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1356, allocations: 71.88 kB / 0.5961 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1358, allocations: 79.83 kB / 0.5961 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1361, allocations: 87.84 kB / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1362, allocations: 95.75 kB / 0.5963 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.1363, allocations: 7.984 kB / 0.5963 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1364, allocations: 59.83 kB / 0.5964 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1365, allocations: 91.83 kB / 0.5965 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1366, allocations: 8 kB / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1367, allocations: 75.86 kB / 0.5965 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.1367, allocations: 31.86 kB / 0.5966 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1368, allocations: 47.67 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.137, allocations: 123.9 kB / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.137, allocations: 0 / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.137, allocations: 0 / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.137, allocations: 0 / 0.5967 GB, free: 6.879 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.0004731/0.1375, allocations: 462.5 kB / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1375, allocations: 15.97 kB / 0.5972 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.1375, allocations: 38.75 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1376, allocations: 20.75 kB / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1378, allocations: 205.4 kB / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1378, allocations: 384 / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1378, allocations: 4.375 kB / 0.5974 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.138, allocations: 111.4 kB / 0.5976 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.138, allocations: 0 / 0.5976 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.138, allocations: 4 kB / 0.5976 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.138, allocations: 4 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.1381, allocations: 63.91 kB / 0.5976 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1384, allocations: 293.7 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1386, allocations: 101.2 kB / 0.598 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.1386, allocations: 73.75 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1387, allocations: 11.92 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1389, allocations: 142.8 kB / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1389, allocations: 0 / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003804/0.1392, allocations: 299.2 kB / 0.5985 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1393, allocations: 110.9 kB / 0.5986 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1395, allocations: 203.1 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1395, allocations: 29.7 kB / 0.5988 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1396, allocations: 108.1 kB / 0.5989 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1396, allocations: 27.56 kB / 0.599 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.1396, allocations: 29.7 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.1397, allocations: 326.8 kB / 0.5993 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.1398, allocations: 59.97 kB / 0.5994 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/0.1399, allocations: 69.58 kB / 0.5994 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1401, allocations: 173.1 kB / 0.5996 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1401, allocations: 0 / 0.5996 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.1403, allocations: 243.1 kB / 0.5998 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.1404, allocations: 41.69 kB / 0.5999 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1404, allocations: 0 / 0.5999 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1404, allocations: 0 / 0.5999 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1404, allocations: 15.97 kB / 0.5999 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1405, allocations: 3.938 kB / 0.5999 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.1405, allocations: 7.938 kB / 0.5999 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1405, allocations: 4 kB / 0.5999 GB, free: 3.316 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.0001248/0.1407, allocations: 175.5 kB / 0.6001 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1407, allocations: 15.81 kB / 0.6001 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.1408, allocations: 71.08 kB / 0.6001 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1408, allocations: 4 kB / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1409, allocations: 0 / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1409, allocations: 0 / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.141, allocations: 213.5 kB / 0.6003 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.141, allocations: 0 / 0.6003 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.1411, allocations: 15.92 kB / 0.6004 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1411, allocations: 0 / 0.6004 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1411, allocations: 12.06 kB / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1411, allocations: 0 / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1411, allocations: 0 / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1414, allocations: 311.3 kB / 0.6007 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.1415, allocations: 97 kB / 0.6008 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1415, allocations: 7.984 kB / 0.6008 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.1416, allocations: 8 kB / 0.6008 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1416, allocations: 0 / 0.6008 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1416, allocations: 8 kB / 0.6008 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1417, allocations: 165.1 kB / 0.6009 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1417, allocations: 0 / 0.6009 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.142, allocations: 40 kB / 0.601 GB, free: 2.074 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.0005757/0.1426, allocations: 0.8558 MB / 0.6018 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1428, allocations: 231.2 kB / 0.602 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1428, allocations: 0 / 0.602 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1429, allocations: 151.3 kB / 0.6022 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1431, allocations: 15.98 kB / 0.6022 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2073/0.3504, allocations: 2.104 MB / 0.6042 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.3506, allocations: 0.7182 MB / 0.605 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3506, allocations: 2.75 kB / 0.605 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.3507, allocations: 36.12 kB / 0.605 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.3507, allocations: 0 / 0.605 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.3618, allocations: 2.949 MB / 0.6079 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.362, allocations: 244.7 kB / 0.6081 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.963, allocations: 0 / 0.6081 GB, free: 42.02 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)