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.0008996/0.0008995, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001049/0.001049, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6291, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002047/0.6312, allocations: 1.296 MB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.6323, allocations: 0.5965 MB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.6323, allocations: 0 / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.6325, allocations: 75.81 kB / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.6327, allocations: 99.73 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.633, allocations: 67.86 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.6332, allocations: 107.7 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.6333, allocations: 15.91 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.6334, allocations: 63.81 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.6336, allocations: 91.77 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.6336, allocations: 4 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.6337, allocations: 71.86 kB / 0.9836 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.6338, allocations: 31.91 kB / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.6339, allocations: 45.64 kB / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.634, allocations: 110.1 kB / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.634, allocations: 0 / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.896e-06/0.634, allocations: 0 / 0.9837 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.634, allocations: 0 / 0.9837 GB, free: 3.578 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.0006649/0.6347, allocations: 468.3 kB / 0.9842 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6348, allocations: 8.031 kB / 0.9842 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.6348, allocations: 38.56 kB / 0.9842 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.6349, allocations: 15.81 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.6351, allocations: 202.8 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6352, allocations: 8 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.6352, allocations: 0 / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.6354, allocations: 125.9 kB / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.6355, allocations: 0 / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6355, allocations: 8 kB / 0.9846 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6355, allocations: 3.938 kB / 0.9846 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.6356, allocations: 75.94 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.636, allocations: 404.9 kB / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.6362, allocations: 129.1 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.6363, allocations: 81.78 kB / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.6364, allocations: 0 / 0.9852 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.6367, allocations: 174.7 kB / 0.9854 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.6367, allocations: 4 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005288/0.6372, allocations: 331.2 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.6373, allocations: 106.8 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.6375, allocations: 218.5 kB / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.6375, allocations: 25.7 kB / 0.9861 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.6376, allocations: 112.1 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.6377, allocations: 35.69 kB / 0.9862 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.6377, allocations: 8 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6378, allocations: 330.8 kB / 0.9865 GB, free: 448 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.6379, allocations: 59.97 kB / 0.9866 GB, free: 388 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.638, allocations: 79.17 kB / 0.9867 GB, free: 304 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.6381, allocations: 93.75 kB / 0.9867 GB, free: 204 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6382, allocations: 3.938 kB / 0.9867 GB, free: 200 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003371/0.6385, allocations: 271 kB / 0.987 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.6385, allocations: 33.7 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6386, allocations: 3.984 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6386, allocations: 4 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6387, allocations: 12 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6387, allocations: 0 / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.6388, allocations: 19.83 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.6388, allocations: 8 kB / 0.9871 GB, free: 15.83 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.0001457/0.639, allocations: 172.9 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.639, allocations: 23.77 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.6393, allocations: 103 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6393, allocations: 0 / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6393, allocations: 3.938 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6393, allocations: 4 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.6395, allocations: 229.5 kB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6395, allocations: 0 / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.6396, allocations: 11.98 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.6396, allocations: 7.953 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.6396, allocations: 4 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6396, allocations: 4 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6396, allocations: 0 / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.64, allocations: 327.4 kB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.6402, allocations: 112.8 kB / 0.988 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.6402, allocations: 7.953 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.6403, allocations: 8.125 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.6404, allocations: 16.06 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.6404, allocations: 12.19 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001504/0.6406, allocations: 172 kB / 0.9882 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6406, allocations: 3.938 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002911/0.6409, allocations: 44 kB / 0.9883 GB, free: 14.48 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.0008052/0.6417, allocations: 0.8881 MB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.642, allocations: 239.3 kB / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.642, allocations: 0 / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.6422, allocations: 167.3 kB / 0.9895 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.6424, allocations: 16.7 kB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.6441, allocations: 1.204 MB / 0.9907 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.6446, allocations: 0.7238 MB / 0.9914 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.6446, allocations: 8 kB / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.6447, allocations: 39.42 kB / 0.9915 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.6447, allocations: 0 / 0.9915 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.6602, allocations: 3.22 MB / 0.9946 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.6605, allocations: 226.1 kB / 0.9949 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.768, allocations: 0 / 0.9949 GB, free: 7.789 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: